Re: [R] how to create daily / weekly ts object?

2007-01-29 Thread Jeffrey J. Hallman
Look at the 'fame' package I recently put up. You don't need to have the FAME database installed to use it. Among other things, the package defines a class tis (Time Indexed Series) that can handle weekly time series. Wensui Liu [EMAIL PROTECTED] writes: Monthly and Quarterly ts obj. is easy

[R] how to create daily / weekly ts object?

2007-01-26 Thread Wensui Liu
Dear All, Monthly and Quarterly ts obj. is easy to understand. But I couldn't find an example in R manual how to create daily or weekly ts object. Could you please shed some light on it? I really appreciate it. __ R-help@stat.math.ethz.ch mailing list

Re: [R] how to create daily / weekly ts object?

2007-01-26 Thread Gabor Grothendieck
If you want the dates to show up as such you are better off using a zooreg object with times of class Date from the zoo package. You can always use as.ts on it if you require a ts object. library(zoo) zd - zooreg(1:10, start = Sys.Date()) zd as.ts(zd) plot(zd) zw - zooreg(1:10, start =