[R] How to create ts..

Gabor Grothendieck ggrothendieck at gmail.com
Thu Jun 23 23:01:47 CEST 2005


On 6/23/05, Juan Carlos Quiroz Espinosa <jquiroz at ifop.cl> wrote:
> Hi user's
> 
> How to create a date vector utilized only month and year data. I am
> trying to plotting time series without day data.


Check out ?ts and, in particular, look at the 
variable z in the example toward the end of the page.

For the plotting see ?plot.ts or if you have several series
then ?ts.plot .

If your time series is not regularly spaced then check out
the zoo package:

	install.packages("zoo")
	library(zoo)
	vignette("zoo")




More information about the R-help mailing list