[R] data summerization etc...

hadley wickham h.wickham at gmail.com
Sat Jul 12 10:10:09 CEST 2008


On Sat, Jul 12, 2008 at 7:44 AM, sj <ssj1364 at gmail.com> 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 -
http://had.co.nz/reshape - it's design was much inspired by pivot
tables and sql crosstab queries.

Hadley


-- 
http://had.co.nz/



More information about the R-help mailing list