[R] cast in reshape and reshape2

David Winsemius dwinsemius at comcast.net
Sat Dec 24 05:31:12 CET 2011

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

More information about the R-help mailing list