eXtensible Time Series for R
open sourceGPL-2.0-or-laterfree
xts (eXtensible Time Series) is an R package that extends zoo to handle R's different time-based data classes uniformly: it keeps a truly time-based index, preserves each source format's information, lets users customise and extend it, and makes converting between classes simpler. It trades some of zoo's flexibility (zoo can use anything as an index) for performance by imposing reasonable constraints. It appears in CRAN's Econometrics, Finance, MissingData, SpatioTemporal and TimeSeries task views. Jeffrey A. Ryan wrote it, and Joshua M. Ulrich maintains it.
Problems it solves
- work with financial time series indexed by date and time in R
- convert between R's different time series classes without losing information
- subset and align time series by date in R
Features
- time-based index extending zoo
- uniform handling of R's time series classes
- preserves the original class's information on conversion
- faster than zoo by imposing reasonable constraints
Alternatives
The same job
These do what xts does.
- zoo R package for regular and irregular time series with an index of any class
