[R] Date conversion
Pele
drdionc at yahoo.com
Thu Mar 5 18:35:19 CET 2009
Hi Uwe,
You are correct - that was a type O (52) and thanks for you your suggestion
that works..
Pele wrote:
>
>
>
> Hi R users,
>
> I have a factor variable called date as shown below: Can anyone share the
> best / most efficient way to extract year and week (e.g. year = 2006,
> week = 52 for first record, etc..)? My data set has 1 million records.
>
> DATE
> 11DEC2006
> 11SEP2006
> 01APR2007
> 02DEC2007
>
>
> Thanks in advance for any help!
>
--
View this message in context: http://www.nabble.com/Date-conversion-tp22355788p22356526.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list