ac | R Documentation |
Autocorrelation and partial autocorrealtion function.
ac(series, max.lag = 18, main = NULL)
series |
A numeric, time series, or xts variable. |
max.lag |
A number that represents the maximum lag order for the ACF and PACF. |
main |
Plot title. |
The respective ACF and PACF functions.
ac(rnorm(100), max.lag = 20, main = "Persistence")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.