Learn R Programming

zoo (version 1.8-13)

S3 Infrastructure for Regular and Irregular Time Series (Z's Ordered Observations)

Description

An S3 class with methods for totally ordered indexed observations. It is particularly aimed at irregular time series of numeric vectors/matrices and factors. zoo's key design goals are independence of a particular index/date/time class and consistency with ts and base R by providing methods to extend standard generics.

Copy Link

Version

Install

install.packages('zoo')

Monthly Downloads

607,787

Version

1.8-13

License

GPL-2 | GPL-3

Maintainer

Achim Zeileis

Last Published

February 22nd, 2025

Functions in zoo (1.8-13)

na.StructTS

Fill NA or specified positions.
na.approx

Replace NA by Interpolation
na.trim

Trim Leading/Trailing Missing Observations
na.locf

Last Observation Carried Forward
make.par.list

Make a List from a Parameter Specification
merge.zoo

Merge Two or More zoo Objects
read.zoo

Reading and Writing zoo Series
na.fill

Fill NA or specified positions.
plot.zoo

Plotting zoo Objects
na.aggregate

Replace NA by Aggregation
yearqtr

An Index Class for Quarterly Data
tinyplot.zoo

Plotting zoo Objects with tinyplot
yearmon

An Index Class for Monthly Data
xblocks

Plot contiguous blocks along x axis.
window.zoo

Extract/Replacing the Time Windows of Objects
zoo

Z's Ordered Observations
zooreg

Regular zoo Series
rollapply

Apply Rolling Functions
xyplot.zoo

Plot zoo Series with Lattice
rollmean

Rolling Means/Maximums/Medians/Sums