Hi:
I'm a big fan of the reshape package, but this time I think that the doBy
and plyr
packages may better suit your needs. Since you mentioned wanting to get the
min/mean/max of several variables simultaneously, I took out line54 and
added
some vectors of Gaussian(0, 1) random numbers for testing
Stewart
> Sent: Wednesday, April 21, 2010 10:17 AM
> To: r-help@r-project.org
> Subject: [R] Sparseby Problems
>
> I've got a problem with the sparseby command (reshape
> library), and I have
> reached the peak of my R knowledge (it isn't really that high).
>
> I have
I've got a problem with the sparseby command (reshape library), and I have
reached the peak of my R knowledge (it isn't really that high).
I have a small data frame of 23 rows and 15 columns, here is a subset, the
first four columns are factors and the rest are numeric (only one, line54 is
provide
3 matches
Mail list logo