cookplot: Plot the Cook's distance of a linear regression model

cookplotR Documentation

Plot the Cook's distance of a linear regression model

Description

Plot the Cook's distance of a linear regression model.

Usage

cookplot(model, index = NULL, labels = NULL)

Arguments

model

The model to be plotted.

index

The index of the variable used for the x-axis.

labels

The labels of the instances.

Examples

require (datasets)
data (trees)
model = LINREG (trees [, -3], trees [, 3])
cookplot (model)

fdm2id documentation built on Sept. 4, 2026, 5:07 p.m.