powered by
Plots of the ACF and PACF at the same lags
acf2y(y, lag.max = 40, numer = TRUE)
if numer=TRUE, it returns the values of ACF and PACF for each lag
A time series object
An integer, the maximum lag
A boolean; if TRUE the ACF and PACF are printed
Yves Aragon, Thibault Laurent
The ACF and PACF are plotted with the same scale.
Shumway R. and Stoffer D., Time Series Analysis and Its Applications - With R Examples, 2nd ed., 2006, Springer.
xy.acfb
data("nottem") acf2y(nottem)
Run the code above in your browser using DataLab