[R-SIG-Finance] selecting specific rows from an xts object

Robert Schien robsch at robsch.eu
Mon Dec 15 15:31:38 CET 2014


Hello,

I have a questions concerning the xts package.

How can I select rows for specific times from a xts series?
I know tthat one select a range with the help of "T", for example
x["T09:30:00/T09:40:00"]

But how can I select only the rows an 09:30:00 ?
x["T09:30:00/T09:30:00"] does not work. This delivers the
whole time series.
x["T09:30:00"] does not work, too. It delivers no rows at all.

So, how can I do, what I want?
I didn't find anything in the xts documentation.

Thank you in advance.

Greetings
Robert



More information about the R-SIG-Finance mailing list