zoo: S3 Infrastructure for Regular and Irregular Time Series
A. Zeileis, G. Grothendieck
Abstract
zoo is an R package providing an S3 class with methods for indexed totally ordered observations, such as discrete 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.
Create a lesson
Related papers
On Natural Exponential Families with Log-Affine Generalized Variance
Zeyu Cao, Shaosai Huang
Fundamental Limits of Coherent Imaging in The Presence of Atmospheric Turbulence
Songbin Liu, Hanyu Yang, Junren Chen et al.
Regularization vs. Convolution in Kernel-Based Hypothesis Testing
Omar Hagrass, Bharath K. Sriperumbudur
Inference for Realized Quadratic Covariation of R and R2 as a Measure of Return Asymmetry
Haozhe Jiang, Ostap Okhrin, Michael Rockinger
Variational Splines and Generalized Gaussian Processes
Michael Unser
Conformal Prediction at Performative Equilibrium: The Price of Performativity
Ahmed Mahrous, Roberto Di Pietro