Learn R Programming

zoo (version 1.8-14)

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

631,128

Version

1.8-14

License

GPL-2 | GPL-3

Maintainer

Achim Zeileis

Last Published

April 10th, 2025

Functions in zoo (1.8-14)

make.par.list

Make a List from a Parameter Specification
na.locf

Last Observation Carried Forward
plot.zoo

Plotting zoo Objects
na.StructTS

Fill NA or specified positions.
na.fill

Fill NA or specified positions.
na.aggregate

Replace NA by Aggregation
na.approx

Replace NA by Interpolation
read.zoo

Reading and Writing zoo Series
merge.zoo

Merge Two or More zoo Objects
na.trim

Trim Leading/Trailing Missing Observations
tinyplot.zoo

Plotting zoo Objects with tinyplot
rollmean

Rolling Means/Maximums/Medians/Sums
xblocks

Plot contiguous blocks along x axis.
zooreg

Regular zoo Series
yearmon

An Index Class for Monthly Data
xyplot.zoo

Plot zoo Series with Lattice
yearqtr

An Index Class for Quarterly Data
window.zoo

Extract/Replacing the Time Windows of Objects
zoo

Z's Ordered Observations
rollapply

Apply Rolling Functions
coredata

Extracting/Replacing the Core Data of Objects
ggplot2.zoo

Convenience Functions for Plotting zoo Objects with ggplot2
index

Extracting/Replacing the Index of Objects
is.regular

Check Regularity of a Series
lag.zoo

Lags and Differences of zoo Objects
frequency<-

Replacing the Index of Objects
as.zoo

Coercion from and to zoo
aggregate.zoo

Compute Summary Statistics of zoo Objects
MATCH

Value Matching
ORDER

Ordering Permutation