ols_prep_dsrvf_data function

Deleted studentized residual plot data

Deleted studentized residual plot data

Generates data for deleted studentized residual vs fitted plot.

ols_prep_dsrvf_data(model, threshold = NULL)

Arguments

  • model: An object of class lm.
  • threshold: Threshold for detecting outliers. Default is 2.

Examples

model <- lm(mpg ~ disp + hp + wt + qsec, data = mtcars) ols_prep_dsrvf_data(model) ols_prep_dsrvf_data(model, threshold = 3)