Create a control chart of residuals and identify outliers.
residout(resid, t = 2, outplot = c(TRUE, FALSE))
vector of residuals.
threshold value over which standardised residuals are regarded as outliers.
if TRUE, then a control chart of the standardised residuals is plotted.
TRUE
A list containing:
location: locations of outliers.
location
outliers: values of outliers.
outliers
residuals: standardised residuals.
residuals
# NOT RUN { residout(rnorm(50), outplot=TRUE) # }
Run the code above in your browser using DataCamp Workspace