Skip to content
Prev 248095 / 398503 Next

meaning of formula in aggregate function

Den wrote:
Okay, now I see what you're asking regarding the NAs.
I should have realized it before. Anyway, the answer
is in the function sort(). Have a look at its help
page and note what sort does when 'na.last=NA', the
default. You'll see where the NAs went.

Peter Ehlers