Message-ID: <1342454664529-4636659.post@n4.nabble.com>
Date: 2012-07-16T16:04:24Z
From: york8866
Subject: extract number from a mixture of character and number
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.