Re: [R] Indexing Arbitrary Time Intervals in zoo Series

2009-06-16 Thread Gabor Grothendieck
See ?window.zoo Also suggest you use dput to display sample data in posts to r-help. On Tue, Jun 16, 2009 at 1:19 PM, wrote: > Hi guys > > Does anyone know if it is possible to index a zoo series by a sequence? For > instance, with the following irregular zoo object, I can calculate the range >

[R] Indexing Arbitrary Time Intervals in zoo Series

2009-06-16 Thread rory . winston
Hi guys Does anyone know if it is possible to index a zoo series by a sequence? For instance, with the following irregular zoo object, I can calculate the range of its time-based index: > r <- range(index(l.zoo)) > r [1] "2009-06-15 01:44:20.802 GMT" "2009-06-15 16:54:24.124 GMT" If I just w