Hi:
On Fri, Jul 15, 2011 at 6:04 AM, anglor wrote:
> Hi, thanks for your reply.
>
> I didn't get cast() to work and didn't know how to find information about it
> either.
Hadley Wickham's home page http://had.co.nz/ has a link (last one
under the heading 'R Packages') to the reshape package pag
Thank you!
I used this one and it worked really great.
/Angelica
--
View this message in context:
http://r.789695.n4.nabble.com/Reorganize-data-fram-tp3662123p3669782.html
Sent from the R help mailing list archive at Nabble.com.
__
R-help@r-project
Hi, thanks for your reply.
I didn't get cast() to work and didn't know how to find information about it
either. I used reshape but then I had to subset only those columns (actually
I have 28 columns of other data) Could cast or reshape work also with more
columns?
Angelica
--
View this messag
Hi:
Try the cast() function in the reshape package. Using d as the name of
your data frame,
library(reshape)
cast(d, Date ~ Category, value = 'Temperature')
Date A B C
1 2007102 16 17 18
HTH,
Dennis
On Tue, Jul 12, 2011 at 5:42 AM, anglor wrote:
> Hi,
>
> I have a data frame of about
On Jul 12, 2011, at 8:42 AM, anglor wrote:
Hi,
I have a data frame of about 700 000 rows which look something like
this:
DateTemperature Category
2007102 16 A
2007102 17 B
2007102 18 C
but need it to be:
Date T
Hi,
I have a data frame of about 700 000 rows which look something like this:
DateTemperature Category
2007102 16 A
2007102 17 B
2007102 18 C
but need it to be:
Date TemperatureA TemperatureB TemperatureC
2007102
6 matches
Mail list logo