[R] Dataframe with single level column
"Stefan Große"
singularitaet at gmx.net
Fri Nov 21 17:11:51 CET 2008
> I need to run anova analyis on the group in levels against the merge data
> in the first two columns. I can manually split and join the different
> columns as in
>
> > d.t <-
> rbind(data.frame(value=d[,1],ind=d[,3]),data.frame(value=d[,2],ind=d[,3]))
>
> but I was wondering if there would be a more elegant and easy way than
> that that would prevent me from hard coding the different vectors making the
> data frame.
?reshape
hth Stefan
--
Sensationsangebot nur bis 30.11: GMX FreeDSL - Telefonanschluss + DSL
für nur 16,37 Euro/mtl.!* http://dsl.gmx.de/?ac=OM.AD.PD003K11308T4569a
More information about the R-help
mailing list