Re: [R] Selecting initial numerals

2009-10-14 Thread joris meys
wo digits of the numeral not the last two.  How do i coerce > the code to get this outcome. > > Cheers > >> Date: Wed, 14 Oct 2009 13:50:54 +0200 >> Subject: Re: [R] Selecting initial numerals >> From: jorism...@gmail.com >> To: j_r...@hotmail.com >> CC: r-he

Re: [R] Selecting initial numerals

2009-10-14 Thread joris meys
On Tue, Oct 13, 2009 at 6:48 PM, PDXRugger wrote: > > II just want to create a new object with the first two numerals of the data. > Not sure why this isnt working, consider the following: > > EmpEst$naics=c(238321, 624410, 484121 ,238911, 81, 531110, 621399, > 541613, > 524210 ,236115 ,811121

[R] Selecting initial numerals

2009-10-13 Thread PDXRugger
II just want to create a new object with the first two numerals of the data. Not sure why this isnt working, consider the following: EmpEst$naics=c(238321, 624410, 484121 ,238911, 81, 531110, 621399, 541613, 524210 ,236115 ,811121 ,236115 ,236115 ,621610 ,814110 ,812320) EmpEst$naics2<-form

Re: [R] Selecting initial numerals

2009-10-13 Thread Dieter Menne
PDXRugger wrote: > > II just want to create a new object with the first two numerals of the > data. Not sure why this isnt working, consider the following: > > EmpEst$naics=c(238321, 624410, 484121 ,238911, 81, 531110, 621399, > 541613, > 524210 ,236115 ,811121 ,236115 ,236115 ,621610 ,814