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

View source: R/acf2y.R

acf2yR Documentation

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)

Arguments

y

A time series object

lag.max

An integer, the maximum lag

numer

A boolean; if TRUE the ACF and PACF are printed

Details

The ACF and PACF are plotted with the same scale.

Value

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

Author(s)

Yves Aragon, Thibault Laurent

References

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

See Also

xy.acfb

Examples

data("nottem")
acf2y(nottem)

caschrono documentation built on Nov. 2, 2023, 5:16 p.m.