Re: [R] How to create ts..

From: Gabor Grothendieck <ggrothendieck_at_gmail.com>
Date: Fri 24 Jun 2005 - 07:01:47 EST

On 6/23/05, Juan Carlos Quiroz Espinosa <jquiroz@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")

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Fri Jun 24 07:11:43 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:33:01 EST