Studentized residual plot data
Generates data for studentized residual plot.
ols_prep_srplot_data(model, threshold = NULL)
model
: An object of class lm
.threshold
: Threshold for detecting outliers. Default is 3.model <- lm(read ~ write + math + science, data = hsb) ols_prep_srplot_data(model)
Useful links