Learn R Programming

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

zoo (version 1.8-3)

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

705,670

Version

1.8-3

License

GPL-2 | GPL-3

Maintainer

Achim Zeileis

Last Published

July 16th, 2018

Functions in zoo (1.8-3)

ORDER

Ordering Permutation
as.zoo

Coercion from and to zoo
na.approx

Replace NA by Interpolation
frequency<-

Replacing the Index of Objects
na.fill

Fill NA or specified positions.
read.zoo

Reading and Writing zoo Series
is.regular

Check Regularity of a Series
na.StructTS

Fill NA or specified positions.
na.aggregate

Replace NA by Aggregation
xyplot.zoo

Plot zoo Series with Lattice
window.zoo

Extract/Replacing the Time Windows of Objects
lag.zoo

Lags and Differences of zoo Objects
yearmon

An Index Class for Monthly Data
yearqtr

An Index Class for Quarterly Data
zoo

Z's Ordered Observations
xblocks

Plot contiguous blocks along x axis.
na.locf

Last Observation Carried Forward
rollapply

Apply Rolling Functions
na.trim

Trim Leading/Trailing Missing Observations
rollmean

Rolling Means/Maximums/Medians/Sums
ggplot2.zoo

Convenience Functions for Plotting zoo Objects with ggplot2
MATCH

Value Matching
aggregate.zoo

Compute Summary Statistics of zoo Objects
coredata

Extracting/Replacing the Core Data of Objects
index

Extracting/Replacing the Index of Objects
make.par.list

Make a List from a Parameter Specification
merge.zoo

Merge Two or More zoo Objects
plot.zoo

Plotting zoo Objects
zooreg

Regular zoo Series