[prev in list] [next in list] [prev in thread] [next in thread] 

List:       r-help
Subject:    [R] re moving intial numerals
From:       PDXRugger <J_R_36 () hotmail ! com>
Date:       2009-07-31 21:50:01
Message-ID: 24763596.post () talk ! nabble ! com
[Download RAW message or body]



I would like to recreate "data" so that only the last 5 digits of the below
data are inlcuded as data so 2005000002019 would become 02019.  Any ideas.

data=c(2005000000735,
2005000002019,
2005000004131,
2005000004217,
2005000004629,
2005000004822,
2005000010115,
2005000011605,
2005000014477,
2005000015314,
2005000015438,
2005000019040,
2005000019603,
2005000022735,
2005000022853,
2005000023415,
2005000024227,
2005000024423)

-- 
View this message in context: http://www.nabble.com/removing-intial-numerals-tp24763596p24763596.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic