Displaying 1 result from an estimated 1 matches for "melttest".
Did you mean:
meintest
2013 Mar 18
2
melt with complications
...omeone suggest a simpler expression than either of these, with the
goal
## of taking a long matrix into a wide one with exactly one of the factors
converted to
## columns and all the rest retained as factors. I want something that
generalizes beyond
## the three factors illustrated here.
## Rich
meltTest <- data.frame(A=rep(c("B","C"), each=12),
D=rep(c("E","F","G"), each=4, times=2),
H=rep(c("I","J","K","L"), times=6),
M=1:24)
meltTest...