[R] date conversion

Erin Hodgess erinm.hodgess at gmail.com
Thu Mar 17 03:22:37 CET 2011


Dear R People:

I have a monthly time series which runs from January 1998 to December 2010.

When I use tsp I get the following:

> tsp(ibm$ts)
[1] 1998.000 2010.917   12.000


Is there an easy way to convert this to a seq.Date object, please?

I would like to have something to the effect of
1998/01/01 .... 2010/12/01

Thanks,
Erin



-- 
Erin Hodgess
Associate Professor
Department of Computer and Mathematical Sciences
University of Houston - Downtown
mailto: erinm.hodgess at gmail.com



More information about the R-help mailing list