[R] date conversion

From: Erin Hodgess <erinm.hodgess_at_gmail.com>
Date: Wed, 16 Mar 2011 21:22:37 -0500


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

______________________________________________
R-help_at_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.
Received on Thu 17 Mar 2011 - 02:26:15 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 17 Mar 2011 - 03:50:22 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive