Displaying 1 result from an estimated 1 matches for "values2columns".
2006 May 18
1
reshape question
....9.1 on Linux. The same code appears to be ok when run on R V2.2.0 on
Windows and a V2.1 on Linux. Any help would be great as I need to stay
on V1.9 for the immediate future... Thanks, Reid Hutchins
df <- data.frame(state= rep(1:2, each=8), school=rep(1:2,each=4),
class=rep(1:2,each=2),Values2Columns=rep(1:2, each=1), score=rnorm(16));
df
wide <- reshape(df, idvar=c("state", "school","class"), timevar =
"Values2Columns",direction = "wide")
wide
#############Linux Result################
> wide <- reshape(df, idvar=c("stat...