powered by
Plots current vs lagged residuals along with quadrants dividing these residuals about the value zero.
autocorPlot(fit, main = "Current vs Lagged residuals", ...)
output from the function 'lm()'.
the plot title.
extra parameters to be passed to the plot function.
plot
data(airpass.df) time = 1:144 airpass.fit = lm(passengers ~ time, data = airpass.df) autocorPlot(airpass.fit)
Run the code above in your browser using DataLab