Displaying 1 result from an estimated 1 matches for "quermacrb".
2009 Aug 31
4
Simple column selection question- which and character lists
...b","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 these names in my
data frame:
>which(colnames(data)==names.species.bio.18)
Result:
+[1] 75 76
+Warning message:
+In cols == names.species.bio.18 :
+ longer object length is not a multipl...