[R] Spitting a df Column Name

jimdare jamesdare26 at gmail.com
Mon Jan 12 03:13:08 CET 2009


Hi,

If I have the following column names: 

names(data)
[1] "count.run"   "count.walk"   "count.drive"

How do I split these so i get

names(datanamessplit)
[1] "run"   "walk"   "drive"

Thanks for your help,
Jim
-- 
View this message in context: http://www.nabble.com/Spitting-a-df-Column-Name-tp21407294p21407294.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list