[R] extract number from a mixture of character and number
york8866
yu_york at hotmail.com
Mon Jul 16 18:04:24 CEST 2012
Hi, all,
I have a column like the following:
ID TIME
sub_001 0
sub_001 24
sub_002 0
sub_002 24
sub_003 0
sub_003 24
sub_004 0
sub_005 24
..
..
is there a way for me to just extract the numeric numbers from the ID
column, omitting sub_?
thanks,
--
View this message in context: http://r.789695.n4.nabble.com/extract-number-from-a-mixture-of-character-and-number-tp4636659.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list