acf2y {caschrono}R 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)

[Package caschrono version 2.2 Index]