residFitted: Create a Residual vs. Fitted Plot

Description Usage Arguments Examples

View source: R/residFitted.R

Description

Create a residual versus fitted values plot using base plot.

Usage

1

Arguments

obj

Model object form an lm() fitted equation.

sigma

Level of residual Standard Deviation to plot. Default is none (FALSE).

id

Logical: Should the identy() function be used to describe selected observations? Will automatically invoke print=TRUE for selected observations. Default is FALSE.

print

Logical: Should observations outside the specified sigma level be printed to the console? Default is FALSE.

...

Further arguments passed to and from other methods.

Examples

1
2
3
mod <- lm(hp ~ disp, data=mtcars)
summary(mod)
residFitted(mod, sigma=2, print=TRUE)

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