as.xts.lfobj: Convert Object To Class xts

Description Usage Arguments Value See Also Examples

Description

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

Usage

1
2
## 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

1
2
3
4
5
6
data(ray)
r <- as.xts(ray)

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

lfstat documentation built on May 2, 2019, 6:07 p.m.