Last data update: 2014.03.03
|
R: Convert Object To Class xts
as.xts.lfobj | R Documentation |
Convert Object To Class xts
Description
Conversion function to coerce data objects of classes lfobj to class xts.
Usage
## S3 method for class 'lfobj'
as.xts(x, ...)
Arguments
x |
an object of class lfobj.
|
... |
additional parameters or attributes
|
Value
An S3 object of class xts.
See Also
as.xts
Examples
data(ray)
r <- as.xts(ray)
# attributes of the lfobject are retained
attr(ray, "lfobj")
xtsAttributes(r)
Results
|