Learn R Programming

olsrr (version 0.5.3)

ols_prep_cdplot_outliers: Cooks' d outlier data

Description

Outlier data for cook's d bar plot.

Usage

ols_prep_cdplot_outliers(k)

Arguments

k

Cooks' d bar plot data.

Examples

Run this code
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