Learn R Programming

olsrr (version 0.5.3)

ols_prep_cdplot_data: Cooks' D plot data

Description

Prepare data for cook's d bar plot.

Usage

ols_prep_cdplot_data(model)

Arguments

model

An object of class lm.

Examples

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

Run the code above in your browser using DataLab