coef.linreg: Return the coefficients of a linreg object

Description Usage Arguments Value Examples

View source: R/coef.R

Description

resid returns the coefficients of a linreg object.

Usage

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

Arguments

object

A linreg object.

...

Further arguments passed to or from other methods.

Value

Return coefficients.

Examples

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

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