ols_prep_dsrvf_data {olsrr} | R Documentation |
Generates data for deleted studentized residual vs fitted plot.
ols_prep_dsrvf_data(model, threshold = NULL)
model |
An object of class |
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)