Re: [R] Simple column selection question- which and character lists

2009-08-31 Thread Stefan Große
I have a list of column names: names.species.bio.18=c(Achimillb,Agrosmitb,Amorcaneb,Andrgerab,Ascltubeb,Elymcanab,Koelcrisb,Lespcapib,Liataspeb,Lupipereb,Monafistb,Panivirgb,Petapurpb,Poaprateb,Querellib,Quermacrb,Schiscopb,Sorgnutab) I want to select the column numbers which correspond to

Re: [R] Dataframe with single level column

2008-11-21 Thread Stefan Große
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