ols_prep_cdplot_data: Cooks' D plot data

View source: R/ols-plots-data.R

ols_prep_cdplot_dataR Documentation

Cooks' D plot data

Description

Prepare data for cook's d bar plot.

Usage

ols_prep_cdplot_data(model, type = 1)

Arguments

model

An object of class lm.

type

An integer between 1 and 5 selecting one of the 6 methods for computing the threshold.

Examples

model <- lm(mpg ~ disp + hp + wt, data = mtcars)
ols_prep_cdplot_data(model)


olsrr documentation built on May 29, 2024, 12:35 p.m.