Learn R Programming

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

zoo (version 1.5-3)

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

559,392

Version

1.5-3

License

GPL-2

Maintainer

Achim Zeileis

Last Published

April 10th, 2025

Functions in zoo (1.5-3)

as.Date.numeric

Date Conversion Functions from Numeric, Integer and ts Objects
lag.zoo

Lags and Differences of zoo Objects
plot.zoo

Plotting zoo Objects
rollapply

Apply Rolling Functions
window.zoo

Extract/Replacing the Time Windows of Objects
na.approx

Replace NA by Interpolation
yearmon

An Index Class for Monthly Data
zooreg

Regular zoo Series
index

Extracting/Replacing the Index of Objects
merge.zoo

Merge Two or More zoo Objects
yearqtr

An Index Class for Quarterly Data
frequency<-

Replacing the Index of Objects
MATCH

Value Matching
coredata

Extracting/Replacing the Core Data of Objects
is.regular

Check Regularity of a Series
read.zoo

Reading and Writing zoo Series
na.locf

Last Observation Carried Forward
aggregate.zoo

Compute Summary Statistics of zoo Objects
na.trim

Trim Leading/Trailing Missing Observations
make.par.list

Make a List from a Parameter Specification
rollmean

Rolling Means/Maximums/Medians
zoo

Z's Ordered Observations
ORDER

Ordering Permutation
as.zoo

Coercion from and to zoo
xyplot.zoo

Plot zoo Series with Lattice