Last chance! 50% off unlimited learning
Sale ends in
Compute autocovariance estimates for every lag for the specified input sequence using a fast Fourier transform approach. The estimate for lag t is scaled by N-t where N is the length of the sequence.
autocovariance(x)
A numeric vector of autocovariances at every lag (scaled by N-lag).
(numeric vector) A sequence of values.