corr_analysis | R Documentation |
Correlation Analysis function computes and plots both empirical ACF and PACF of univariate time series.
corr_analysis(
x,
lag.max = NULL,
type = "correlation",
demean = TRUE,
show.ci = TRUE,
alpha = 0.05,
plot = TRUE,
...
)
x |
A |
lag.max |
A |
type |
A |
demean |
A |
show.ci |
A |
alpha |
A |
plot |
A |
... |
Additional parameters. |
Two array
objects (ACF and PACF) of dimension N \times S \times S
.
Yunxiang Zhang
# Estimate both the ACF and PACF functions
corr_analysis(datasets::AirPassengers)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.