On Dec 23, 2011, at 9:23 PM, Hadley Wickham wrote:
Have you looked at the .summarise argument to dcast? That seems to
deliver
the same sort of results one gets with base::aggregate.
Actually I see after looking at examples on the plyr-reshape-
googlegroups
group that it is not '.summarise' but rather 'summarise'.
Unfortunately
there are no links in the help pages that seem to describe its
proper use
... a not uncommon failing for that package in my experience.
?plyr::summarise seems pretty helpful to me. If you can do better,
please submit a patch - they are very much appreciated.
My failure to find it stemmed from it not being mentioned in any way
in package reshape2's help files, but maybe I was mistaken that it was
meant to be used in that context?
--
David Winsemius, MD
West Hartford, CT
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.