Learn R Programming

olsrr (version 0.6.0)

ols_prep_outlier_obs: Cooks' D outlier observations

Description

Identify outliers in cook's d plot.

Usage

ols_prep_outlier_obs(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_outlier_obs(k)

Run the code above in your browser using DataLab