Skip to content
Prev 9152 / 15274 Next

using [ on xts object

Dear Mr. or Mrs. Engineer,

On Fri, Dec 23, 2011 at 1:50 PM, financial engineer
<fin_engr at hotmail.com> wrote:
You can't.  You created an xts object with a Date class index.  The
Date class doesn't contain any information about time of day.  Use a
date/time class (read ?DateTimeClasses).

Subsetting xts objects by time of day has been discussed several times
on this list.  Please search the list archives (e.g. via rseek.org).

Regards,
--
Joshua Ulrich  |  FOSS Trading: www.fosstrading.com