Computes the 1-step ahead prediction errors (residuals) for an estimated polynomial model, and plots auto-correlation of the residuals and the cross-correlation of the residuals with the input signals.
residplot(model, newdata = NULL)estimated polynomial model
an optional dataset on which predictions are to be computed. If not supplied, predictions are computed on the training dataset.