zoo (version 0.1-4)

as.zoo: Coercion to zoo

Description

A generic function for coercing objects to class "zoo".

Usage

as.zoo(x, ...)

Arguments

x
an object,
...
currently not used.

Value

Details

as.zoo currently has a default method and methods for ts and irts objects.

See Also

zoo, ts, irts

Examples

Run this code
as.zoo(rnorm(5))

Run the code above in your browser using DataLab