plot.linreg: Plot method for linreg xs

Description Usage Arguments Value Examples

View source: R/plot.R

Description

plot method for xs of the class "linreg".

Usage

1
2
## S3 method for class 'linreg'
plot(x, ...)

Arguments

x

an object of class "linreg", generated by a call to linreg.

...

additional arguments.

Value

Two scatter plots. The first one is residuals vs fitted values and the second is the scale-location.

Examples

1
2
linreg_obj <- linreg(Petal.Length~Species, datasets::iris)
plot(linreg_obj)

hugkn566/Lab4HugoOtto documentation built on Oct. 20, 2020, 2:17 p.m.