Re: [R] Help with selecting data from irregular time series {its} objects

From: Gabor Grothendieck <>
Date: Wed 07 Jun 2006 - 23:03:54 EST

See: ?itsSubset

On 6/7/06, Ivan Kalafatic <> wrote:
> If I understood correctly in irregular time series (its) objects, values are
> indexed by time stamps in POSIX format.
> But if I try to select the value of my time series corresponding to specific
> time stamp in the following way:
> x - its object
> i <- as.POSIXct("2006-05-19 15:30:00")
> x[i,] or x[i] or x[i,1] I get the error message: subscript out of bounds.
> If I use integers: x[1,1] it is ok I get the first element of time series.
> Is there a way to select elements by their corresponding dates?
> [[alternative HTML version deleted]]
> ______________________________________________
> mailing list
> PLEASE do read the posting guide!
> mailing list PLEASE do read the posting guide! Received on Thu Jun 08 00:49:34 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Thu 08 Jun 2006 - 02:10:31 EST.

Mailing list information is available at Please read the posting guide before posting to the list.