integer. Defines the number of lags to be displayed. The default
is 10 * log10(length(series)).
type
character string giving the type of acf to be computed. Allowed values are "cor" (the default), "cov" or "part" for autocorrelation, covariance or partial correlation.
PlotACF plots a combination of the time series and its autocorrelation and partial autocorrelation. PlotGACF is used as
subfunction to produce the acf- and pacf-plots.