studResidPlot: Create a Studentized Deleted Residual Plot

Description Usage Arguments See Also Examples

View source: R/studResidPlot.R View source: R/OriginalPlotFuncitons_NOTUSED.R

Description

Produce a studentized deleted residual plot.

Usage

1
2
3
4
5
6
7
8
studResidPlot(
  obj,
  key.variable = NULL,
  print.obs = FALSE,
  print.plot = TRUE,
  sort.obs = TRUE,
  all.obs = FALSE
)

Arguments

obj

Object from an lm() fiitted equation.

key.variable

Required if lm() data object is of tibble class. Name of the unique key variable (identifier variable). If data object is of data.frame class, this is optional and row.names will be used instead.

print.obs

Logical: Should observations outside the specified sigma level be printed to the console?

print.plot

Logical: Should plot be created?

sort.obs

Logical: Should observations (if print.obs=TRUE) be sorted?

all.obs

Logical: Should all observations be printed?

See Also

levPlot cooksPlot threeOuts

Examples

1
2
3
mod <- lm(hp ~ disp, data=mtcars)
summary(mod)
studResidPlot(mod)

MichaelJMahometa/SDSRegressionR documentation built on March 3, 2021, 10:51 p.m.