seasonal_averages {rnrfa} | R Documentation |
Calculate seasonal averages
Description
This calculates the seasonal averages from a time series.
Usage
seasonal_averages(timeseries, season = "Spring")
Arguments
timeseries |
Time series (zoo class). |
season |
Name of the season, which corresponds to a quarter: Winter (Q1), Spring (Q2), Summer (Q3), Autumn (Q4) |
Value
A vector containing the seasonal average and significance level (p-value) for each time series.
Examples
## Not run:
seasonal_averages(timeseries = cmr(18019), season = "Spring")
seasonal_averages(list(cmr(18019), cmr(18019)), season = "Spring")
## End(Not run)
[Package rnrfa version 2.1.0.6 Index]