residuals.linreg: Return the residuals of a linreg object

Description Usage Arguments Value Examples

View source: R/resid.R

Description

the function resid extracts a linreg object residuals.

Usage

1
2
## S3 method for class 'linreg'
residuals(object, ...)

Arguments

object

A linreg object.

...

Further arguments passed to or from other methods.

Value

Return residuals from the linreg object.

Examples

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

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