autocorrelation | R Documentation |
Compute autocorrelation 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.
autocorrelation(x)
x |
(numeric vector) A sequence of values. |
A numeric vector of autocorrelations at every lag (scaled by N-lag).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.