Deleted studentized residual plot data
Generates data for deleted studentized residual vs fitted plot.
ols_prep_dsrvf_data(model, threshold = NULL)
model
: An object of class lm
.threshold
: 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)
Useful links