Re: [R] data summerization etc...

From: hadley wickham <>
Date: Sat, 12 Jul 2008 17:10:09 +0900

On Sat, Jul 12, 2008 at 7:44 AM, sj <> wrote:
> Hello,
> I am trying to do some fairly straightforward data summarization, i.e., the
> kind you would do with a pivot table in excel or by using SQL queires. I
> have a moderately sized data set of ~70,000 records and I am trying to
> compute some group averages and sum values within groups. the code example
> below shows how I am trying to go about doing this

You might want to have a look at the reshape package - - it's design was much inspired by pivot tables and sql crosstab queries.



______________________________________________ mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.
Received on Sat 12 Jul 2008 - 08:15:06 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sat 12 Jul 2008 - 08:31:20 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive