Skip to content

Latest commit

 

History

72 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zoo: S3 Infrastructure for Regular and Irregular Time Series

Overview

The R package zoo provides an S3 class zoo for working with regular and irregular time series. The class stores data as numeric vectors/matrices (or factors) along with a time index which can be of arbitrary class (including numeric, Date, POSIXct, chron, yearmon, yearqtr). Functions and methods for zoo are consistent with the ts class and base R and also extend standard generics. Tools include:

  • Data import/export and coercion to and from other time series classes (ts, xts, timeSeries, etc.).
  • Visualization using different engines (base R, ggplot2, lattice, tinyplot).
  • Alignment and merging of series recorded at different time indexes.
  • Aggregation to coarser time intervals.
  • Lags and subsets.
  • Rolling analytics over moving time windows.
  • Time-based interpolation and filling.

Installation

The stable version of zoo is available from CRAN:

install.packages("zoo")

The latest development version can be installed from R-universe:

install.packages("zoo", repos = "https://zeileis.R-universe.dev")

License

The package is available under the General Public License version 3 or version 2

Citation

Zeileis A, Grothendieck G (2005). “zoo: S3 Infrastructure for Regular and Irregular Time Series.” Journal of Statistical Software, 14(6), 1-27. doi:10.18637/jss.v014.i06

About

❗ This is a read-only mirror of the CRAN R package repository. zoo — S3 Infrastructure for Regular and Irregular Time Series (Z's Ordered Observations). Homepage: https://zeileis.codeberg.page/zoo/ Report bugs for this package: https://codeberg.org/zeileis/zoo/issues

Resources

Stars

10 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages