jcreg_dffits: DFFITS Plot

Description Usage Arguments Value Examples

View source: R/assumption_checking.R

Description

Plots the DFFITS against observation number.

Usage

1
jcreg_dffits(model, nLabels = 3)

Arguments

model

A linear regression model of class stats::lm

nLabels

The number of potential influential points to label. Defaults to 3. A value of 0 means do not label potential influential points. There is currently a bug where it always labels at least one point.

Value

Returns a ggplot object.

Examples

1
jcreg_dffits(lm(brozek ~ ., data = bodyfat), nLabels = 1)

mtnbikerjoshua/jcreg documentation built on April 18, 2021, 10:01 p.m.