Learn R Programming

MDMA (version 2.0.0)

print.check.lm: Print lm check

Description

Print the check of lm object

[Stable]

Usage

# S3 method for check.lm
print(x, which.infl = c("influential", "all"), ...)

Value

prints the check.lm object.

Arguments

x

an object used to select a method.

which.infl

Indicate whether only influential cases (influential, the default) or all cases (all) should be printed.

...

further arguments passed to or from other methods (none are used).

Author

Mathijs Deen

Examples

Run this code
lm.1 <- lm(mpg ~ disp + wt, data = mtcars)
chk.lm.1 <- check(lm.1)
print(chk.lm.1, which.infl="all")

Run the code above in your browser using DataLab