See: ?itsSubset On 6/7/06, Ivan Kalafatic <[EMAIL PROTECTED]> 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]] > > ______________________________________________ > R-help@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 >
______________________________________________ R-help@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