This calculates the seasonal averages from a time series.

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

if (FALSE) {
  seasonal_averages(timeseries = cmr(18019), season = "Spring")
  seasonal_averages(list(cmr(18019), cmr(18019)), season = "Spring")
}