search for: resahp

Displaying 1 result from an estimated 1 matches for "resahp".

Did you mean: resamp
2011 Sep 09
4
reshape data from long to wide format
...; 01/01/2010 5", " 01/01/2010 6"), class = "factor")), .Names = c("SENSOR", "VALUE", "DATE"), class = "data.frame", row.names = c("1", "2", "3", "4", "5", "6")) I need to resahpe "example" in a wide format so that ?SENSOR? appear as columns and ?DATE? as rows with corresponding ?VALUE? as value; I thought it was very simple so that I?ve been trying this: dcast(example,DATE~SENSOR) But I've got this message: Using DATE as value column. Use the value argu...