No, .xts
is not any kind of standard. .xts
is mainly for internal use, but it's exported for convenience. .xts
differs from xts
in that xts
requires order.by
be time-based, whereas .xts
expects index
(its second argument, akin to order.by
) to be numeric.
This is because the index
attribute of xts objects is stored internally as a numeric vector with tclass
and tzone
attributes.