[R] How to retrieve a column name of a data frame

ikuzar razuki at hotmail.fr
Thu Feb 2 17:00:30 CET 2012


Sorry, it was not clear:

my program have to return column name  corresponding to a value, for example
'b' (so, the corresponding column is c1)
How to retrieve c1 ?
Thanks

--
View this message in context: http://r.789695.n4.nabble.com/How-to-retrieve-a-column-name-of-a-data-frame-tp4351764p4351866.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list