as.zoo {zoo}R Documentation

Coercion to zoo

Description

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

Usage

as.zoo(x, ...)

Arguments

x an object,
... currently not used.

Details

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

Value

A zoo object.

See Also

zoo, ts, irts

Examples

as.zoo(rnorm(5))

[Package Contents]