powered by
Generates data for studentized resiudual vs leverage plot.
ols_prep_rstudlev_data(model)
An object of class lm.
lm
model <- lm(read ~ write + math + science, data = hsb) ols_prep_rstudlev_data(model)
Run the code above in your browser using DataLab