
Generates data for deleted studentized residual vs fitted plot.
ols_prep_dsrvf_data(model, threshold = NULL)
An object of class lm
.
Threshold for detecting outliers. Default is 2.
model <- lm(mpg ~ disp + hp + wt + qsec, data = mtcars)
ols_prep_dsrvf_data(model)
ols_prep_dsrvf_data(model, threshold = 3)
Run the code above in your browser using DataLab