autocorPlot: Autocorrelation Plot

autocorPlotR Documentation

Autocorrelation Plot

Description

Plots current vs lagged residuals along with quadrants dividing these residuals about the value zero.

Usage

autocorPlot(fit, main = "Current vs Lagged residuals", ...)

Arguments

fit

output from the function 'lm()'.

main

the plot title.

...

extra parameters to be passed to the plot function.

Value

Plots current vs lagged residuals along with quadrants dividing these residuals about the value zero.

Note

autocor.plot is deprecated inline with our new policy of removing periods from function names.

Examples


data(airpass.df)
time = 1:144
airpass.fit = lm(passengers ~ time, data = airpass.df)
autocorPlot(airpass.fit)


s20x documentation built on Aug. 21, 2023, 5:07 p.m.