[R] Reorganize data fram

anglor angelica.ekenstam at dpes.gu.se
Tue Jul 12 14:42:42 CEST 2011


Hi,

I have a data frame of about 700 000 rows which look something like this:

Date        Temperature  Category
2007102   16                   A
2007102   17                   B
2007102   18                   C

but need it to be:

Date          TemperatureA  TemperatureB   TemperatureC  
2007102       16                 17                    18

Any suggestions?

/Angelica

--
View this message in context: http://r.789695.n4.nabble.com/Reorganize-data-fram-tp3662123p3662123.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list