[R] Extracting index in character array.

lord12 trexinsd at yahoo.com
Wed Oct 13 18:56:17 CEST 2010


If I have a character array:

list = c("A", "B", "C")

how do I access the third element without doing list[3]. Can't I find the
index of "C" using a particular function? 
-- 
View this message in context: http://r.789695.n4.nabble.com/Extracting-index-in-character-array-tp2994029p2994029.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list