plot.ACF | R Documentation |
The acf function computes the estimated autocovariance or autocorrelation for both univariate and multivariate cases.
## S3 method for class 'ACF'
plot(x, show.ci = TRUE, ci = 0.95, ...)
## S3 method for class 'ACF'
autoplot(object, show.ci = TRUE, ci = 0.95, ...)
x , object |
An |
show.ci |
A |
ci |
A |
... |
Additional parameters |
An array
of dimensions N \times S \times S
.
# Calculate the Autocorrelation
m = ACF(datasets::AirPassengers)
# Plot with 95% CI
plot(m)
# Plot with 90% CI
plot(m, ci = 0.90)
# Plot without 95% CI
plot(m, show.ci = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.