Extract and Set .CLASS Attribute
Simple extraction and replacement function
xts .CLASS attribute. The .CLASS
attribute is used by
reclass to transform
xts object back to its original class.
CLASS(x) <- value
an xts object
the new .CLASS value to assign
It is not recommended that CLASS be called in
daily use. While it may be possible to coerce objects
to other classes than originally derived from, there is
little, if any, chance that the
will perform as expected.
It is best to use the traditional
Called for its side-effect of changing the .CLASS attribute