Skip to content
Prev 247079 / 398506 Next

aggregate.formula implicitly removes rows containing NA

On Jan 11, 2011, at 5:41 PM, Dickison, Daniel wrote:

            
The help page for aggregate gives the calling defaults for  
aggregate.formula as:
## S3 method for class 'formula' aggregate(formula, data, FUN, ...,  
subset, na.action = na.omit)
So the description you give seems to be adhering to what I would have  
expected (had I initially read the help page.)