jcreg_dfbetas: Matrix of DFBETAS Plots

Description Usage Arguments Value Examples

View source: R/assumption_checking.R

Description

For each predictor variable, plots the DFBETAS against observation number.

Usage

1
jcreg_dfbetas(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 gridExtra object with class "gtable", "gTree", "grob", and "gDesc".

Examples

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

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