plot.auto_corr | R Documentation |
The acf function computes the estimated autocovariance or autocorrelation for both univariate and multivariate cases.
## S3 method for class 'auto_corr'
plot(x, show.ci = TRUE, alpha = 0.05, main = NULL, ...)
x |
An |
show.ci |
A |
... |
Additional parameters |
ci |
A |
An array
of dimensions N \times S \times S
.
Yunxiang Zhang
# 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.