> 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

______________________________________________
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