zoo: an S3 class and methods for indexed totally ordered observations

Zeileis, Achim and Grothendieck, Gabor (2005) zoo: an S3 class and methods for indexed totally ordered observations. Research Report Series / Department of Statistics and Mathematics, 16. Institut für Statistik und Mathematik, WU Vienna University of Economics and Business, Vienna.


Download (384kB)


zoo is an R package providing an S3 class with methods for indexed totally ordered observations, such as irregular time series. Its key design goals are independence of a particular index/time/date class and consistency with base R and the "ts" class for regular time series. This paper describes how these are achieved within zoo and provides several illustrations of the available methods for "zoo" objects which include plotting, merging and binding, several mathematical operations, extracting and replacing data and index, coercion and NA handling. A subclass "zooreg" embeds regular time series into the "zoo" framework and thus bridges the gap between regular and irregular time series classes in R.

Item Type: Paper
Keywords: totally ordered observations / irregular time series / regular time series / S3 / R
Divisions: Departments > Finance, Accounting and Statistics > Statistics and Mathematics
Depositing User: Repository Administrator
Date Deposited: 27 Apr 2005 14:41
Last Modified: 22 Oct 2019 00:41
URI: https://epub.wu.ac.at/id/eprint/328


View Item View Item


Downloads per month over past year

View more statistics