OK, I think I figured it out (each level of id corresponds to only one
level of variable in m.test).
Thanks,
Ista
On Mon, Jan 25, 2010 at 4:59 PM, Ista Zahn wrote:
> Hi all,
> I think I'm cracking up. Please help me understand why I'm getting
> different results with m.test and m.test2 in the exa
Hi all,
I think I'm cracking up. Please help me understand why I'm getting
different results with m.test and m.test2 in the example below.
> library(reshape)
Loading required package: plyr
>
> m.test <- data.frame(id = factor(rep(1:10, 2)),
> variable=rep(c("var1","var2"),10), value=rnorm(20))
>
2 matches
Mail list logo