Methods for coercing "zoo" objects to other classes and
a generic function as.zoo for coercing objects to class "zoo".
Usage
as.zoo(x, ...)
Arguments
x
an object,
...
further arguments passed to zoo when the return
object is created.
Details
as.zoo currently has a default method and methods for ts,
its, fts, irts,
mcmc, tis, xts
objects (and zoo objects themselves).
Methods for coercing objects of class "zoo" to other classes
currently include: as.ts, as.matrix, as.vector,
as.data.frame, as.list (the latter also being available
for "ts" objects).
In the conversion between zoo and ts, the zooreg class is
always used.