seasonalACF: Calculate seasonal autocorrelation function
Description
Computes the empirical ACF for each season of a time series.
Usage
seasonalACF(TS, season, lag.max = 50)
Value
a named list (one element per season) of numeric ACF vectors
starting at lag 0
Arguments
- TS
data frame or data table with columns date and value
- season
character; name of a date-component function
(e.g. "month")
- lag.max
integer; maximum lag for the ACF (default 50)