autocorPlot function

Autocorrelation Plot

Autocorrelation Plot

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

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.

Returns

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)
  • Maintainer: James Curran
  • License: GPL-2 | file LICENSE
  • Last published: 2023-08-21