ols_prep_cdplot_data {olsrr} | R Documentation |
Prepare data for cook's d bar plot.
ols_prep_cdplot_data(model, type = 1)
model |
An object of class |
type |
An integer between 1 and 5 selecting one of the 6 methods for computing the threshold. |
model <- lm(mpg ~ disp + hp + wt, data = mtcars)
ols_prep_cdplot_data(model)