[R] How to create ts..

Spencer Graves spencer.graves at pdf.com
Thu Jun 23 23:33:33 CEST 2005


(see below)	

Gabor Grothendieck wrote:

> 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")
and
	edit(vignette("zoo"))

... which is, I think, new with R 2.0.0 or 2.1.0 and is quite helpful 
for learning a new package that has a vignette.
> 
> ______________________________________________
> R-help at 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

-- 
Spencer Graves, PhD
Senior Development Engineer
PDF Solutions, Inc.
333 West San Carlos Street Suite 700
San Jose, CA 95110, USA

spencer.graves at pdf.com
www.pdf.com <http://www.pdf.com>
Tel:  408-938-4420
Fax: 408-280-7915




More information about the R-help mailing list