Stacking data
? ? ? ? ? ? ? ? ? ? ? ? 27193? ? ? 30949 ? ? ? V2
But i have 41 columns (age column? +? 40 individuals)
I have the following script but an error is thrown up
can anyone help, where am i going wrong
zz <- read.csv("Filename.csv",strip.white = TRUE)
Try this:
install.packages("reshape")
library(reshape)
zzz <- melt(zz)
Hadley