Extraction and replacement functions to access the xts '.CLASS' attribute.
The '.CLASS' attribute is used by reclass()
to transform an xts object
back to its original class.
CLASS(x)CLASS(x) <- value
Called for its side-effect of changing the '.CLASS' attribute.
An xts object.
The new value to assign to the '.CLASS' attribute.
Jeffrey A. Ryan
This is meant for use in conjunction with try.xts()
and reclass()
and is
is not intended for daily use. While it's possible to interactively coerce
objects to other classes than originally derived from, it's likely to cause
unexpected behavior. It is best to use the usual as.xts()
and other
classes' as
methods.
as.xts()
, reclass()