CLASS | R Documentation |
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
x |
An xts object. |
value |
The new value to assign to the '.CLASS' attribute. |
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.
Called for its side-effect of changing the '.CLASS' attribute.
Jeffrey A. Ryan
as.xts()
, reclass()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.