Learn R Programming

⚠️There's a newer version (1.8-15) of this package.Take me there.

zoo (version 1.3-0)

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 with ts and base R by providing methods to extend standard generics.

Copy Link

Version

Install

install.packages('zoo')

Monthly Downloads

821,957

Version

1.3-0

License

GPL

Maintainer

Achim Zeileis

Last Published

December 15th, 2025

Functions in zoo (1.3-0)

aggregate.zoo

Compute Summary Statistics of zoo Objects
MATCH

Value Matching
lag.zoo

Lags and Differences of zoo Objects
xyplot.zoo

Plot zoo Series with Lattice
coredata

Extracting/Replacing the Core Data of Objects
as.Date.numeric

Date Conversion Functions from Numeric, Integer and ts Objects
index

Extracting/Replacing the Index of Objects
plot.zoo

Plotting zoo Objects
frequency<-

Replacing the Index of Objects
zooreg

Regular zoo Series
yearmon

An Index Class for Monthly Data
read.zoo

Read zoo Series via read.table
window.zoo

Extract/Replacing the Time Windows of Objects
merge.zoo

Merge Two or More zoo Objects
zoo

Z's Ordered Observations
na.trim

Trim Leading/Trailing Missing Observations
na.locf

Last Observation Carried Forward
as.zoo

Coercion from and to zoo
is.regular

Check Regularity of a Series
na.approx

Replace NA by Interpolation
yearqtr

An Index Class for Quarterly Data
rollapply

Apply Rolling Functions
ORDER

Ordering Permutation
make.par.list

Make a List from a Parameter Specification
rollmean

Rolling Means/Maximums/Medians