[R] Subsetting zoo object with a vector of time values.

Todd Remund tkremund98 at hotmail.com
Tue Aug 21 17:29:53 CEST 2007

I have a zoo object for which I would like to subset using a vector of time 
values.  For example, I have the following time values represented in my zoo 

-50.000 -49.996 -49.995 -49.960 -49.956 -49.955 -49.920 -49.916 -49.915 

and would like to get observations corresponding to times

-50 -49.96 -49.92 -49.88.

What can I do without using the lapply or which functions?

Thank you.

Todd Remund

More information about the R-help mailing list