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