sample.acf | R Documentation |
Computes the sample autocovariance and autocorrelation functions.
sample.acf(x, max.lag = 12)
x |
a vector containing time series data. |
max.lag |
the largest lag at which to compute the autocovariance and autocorrelation functions. |
a list containing the autocovariance at lags zero through max.lag
.
This function computes the sample autocovariance and autocorrelation functions based on the input data.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.