powered by
Identify outliers in cook's d plot.
ols_prep_outlier_obs(k)
Cooks' d bar plot data.
model <- lm(mpg ~ disp + hp + wt, data = mtcars) k <- ols_prep_cdplot_data(model) ols_prep_outlier_obs(k)
Run the code above in your browser using DataLab