Learn R Programming

lfstat (version 0.9.4)

as.xts.lfobj: Convert Object To Class xts

Description

Conversion function to coerce data objects of classes lfobj to class xts.

Usage

"as.xts"(x, ...)

Arguments

x
an object of class lfobj.
...
additional parameters or attributes

Value

See Also

as.xts

Examples

Run this code
data(ray)
r <- as.xts(ray)

# attributes of the lfobject are retained
attr(ray, "lfobj")
xtsAttributes(r)

Run the code above in your browser using DataLab