% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/seasonal.R
\name{seasonalACF}
\alias{seasonalACF}
\title{Calculate seasonal autocorrelation function}
\usage{
seasonalACF(TS, season, lag.max = 50)
}
\arguments{
\item{TS}{data frame or data table with columns \code{date} and \code{value}}

\item{season}{character; name of a date-component function
(e.g. \code{"month"})}

\item{lag.max}{integer; maximum lag for the ACF (default 50)}
}
\value{
a named list (one element per season) of numeric ACF vectors
starting at lag 0
}
\description{
Computes the empirical ACF for each season of a time series.
}
\seealso{
\code{\link{analyzeTS}}, \code{\link{fitACS}}
}
\keyword{internal}
