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

-- 
http://had.co.nz/

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to