Displaying 1 result from an estimated 1 matches for "lupipereb".
2009 Aug 31
4
Simple column selection question- which and character lists
...tried multiple approaches, no luck.
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 these names in my
data frame:
>which(colnames(data)==nam...