Learn R Programming

caschrono (version 2.4)

acf2y: Plots of the ACF and PACF of a time series

Description

Plots of the ACF and PACF at the same lags

Usage

acf2y(y, lag.max = 40, numer = TRUE)

Value

if numer=TRUE, it returns the values of ACF and PACF for each lag

Arguments

y

A time series object

lag.max

An integer, the maximum lag

numer

A boolean; if TRUE the ACF and PACF are printed

Author

Yves Aragon, Thibault Laurent

Details

The ACF and PACF are plotted with the same scale.

References

Shumway R. and Stoffer D., Time Series Analysis and Its Applications - With R Examples, 2nd ed., 2006, Springer.

See Also

xy.acfb

Examples

Run this code
data("nottem")
acf2y(nottem)

Run the code above in your browser using DataLab