Hello Dr. Winsemius,
First of all, thank you for your prompt and helpful reply. Also, for
providing something I hoped would be produced from joining this mailing
list: a means of discovering incredibly useful packages such as the
"reshape2" one you have introduced me too.
I have a follow up
On May 25, 2011, at 1:16 PM, Scott Hatcher wrote:
Hello Dr. Winsemius,
First of all, thank you for your prompt and helpful reply. Also, for
providing something I hoped would be produced from joining this
mailing list: a means of discovering incredibly useful packages such
as the "reshape
On May 24, 2011, at 3:03 PM, Scott Hatcher wrote:
Hello,
I have a large data frame that is organized by date in a peculiar
way. I
am seeking advice on how to transform the data into a format that is
of
more use to me.
The data is organized as follows:
STN_ID YEAR MM ELEM X1
My suggestion, since bold doesn't show up in a text only mailing list,
would be to look into the function ?aggregate.
It looks like something like (assuming your data is in a mydat):
mydat.new <- aggregate(cbind(STN_ID, YEAR, MM, DAY) ~ ELEM + ?, mydat,
FUN = ?) #this is up to you
Alternatively,
Hello,
I have a large data frame that is organized by date in a peculiar way. I
am seeking advice on how to transform the data into a format that is of
more use to me.
The data is organized as follows:
STN_ID YEAR MM ELEM X1 X2 X3 X4
X5X6
5 matches
Mail list logo