powered by
Generates data for studentized residual plot.
ols_prep_srplot_data(model, threshold = NULL)
An object of class lm.
lm
Threshold for detecting outliers. Default is 3.
model <- lm(read ~ write + math + science, data = hsb) ols_prep_srplot_data(model)
Run the code above in your browser using DataLab