as.xts.lfobj {lfstat} | 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 |
... |
additional parameters or attributes |
Value
An S3 object of class 'xts'
.
See Also
Examples
data(ray)
r <- as.xts(ray)
# attributes of the lfobject are retained
attr(ray, "lfobj")
xtsAttributes(r)
[Package lfstat version 0.9.12 Index]