tsaggregates {thief} | R Documentation |
Non-overlapping temporal aggregation of a time series
Description
Produces all temporal aggregations for frequencies greater than 1
Usage
tsaggregates(y, m = frequency(y), align = c("end", "start"),
aggregatelist = NULL)
Arguments
y |
Univariate time series of class |
m |
Integer seasonal period |
align |
Indicates how the aggregates are to be aligned:
either with the |
aggregatelist |
User-selected list of aggregates to consider. |
Value
A list of time series. The first element is the series 'y', followed by series with increasing levels of aggregation. The last element is the "annual" series (i.e., the series aggregated over all seasons).
Author(s)
Rob J Hyndman
See Also
Examples
tsaggregates(USAccDeaths)
[Package thief version 0.3 Index]