plot.linreg: Plots two residual plots from a linreg object with LiU theme

Description Usage Arguments Value Examples

View source: R/plot.R

Description

plot plots the residuals vs fitted values and a scale-location plot for a linreg object with ggplot2 with LiU theme.

Usage

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

Arguments

x

A linreg object.

...

Further arguments passed to or from other methods.

Value

Two ggplot objects: Residuals vs Fitted and Scale-Location.

Examples

1
plot(linreg(Petal.Length ~ Species, iris))

Sidryd/lab4sidjac documentation built on Oct. 17, 2020, 11:05 p.m.