Message-ID: <29E934B0-4E51-4915-9C2F-FDC52A19A068@comcast.net>
Date: 2011-12-24T04:31:12Z
From: David Winsemius
Subject: cast in reshape and reshape2
In-Reply-To: <CABdHhvEZy+VWkFDaRr-vFZ0T8TXN=iamn=c3gvGZrpcyM1iJhA@mail.gmail.com>
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