[R] zoo Package Question

2010-03-05 Thread testuser
I want to use the zoo package to convert an irregular time series to a regular one at every 15 min. interval. I would like to read in the csv file as a zoo object. When trying to do a seq(from,to,by), how can I specify the from to be the first time element in the zoo object and to to be the last

Re: [R] zoo Package Question

2010-03-05 Thread Gabor Grothendieck
If your series is nearly regular, that is it is regularly spaced except for a few missing points then as.ts(z) will convert it to a regular ts series and as.zoo(as.ts(z)) does that and converts it back. You may need to add back the class. For example see: