Skip to content
Prev 250609 / 398500 Next

help with aggregate()

On 2011-02-14 15:42, Sam Steingold wrote:
I think that all you need is to provide names in your
aggregate() call:

  byFOO <- aggregate(list(V1 = all$BAR, V2 = ....)

For renaming variables in the dataframe any time,
see help(names).

Peter Ehlers