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