coef.LinReg: Coefficients for linreg class

Description Usage Arguments Value Examples

Description

Coefficients for linreg class

Usage

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

Arguments

object

a linreg class object

...

optional arguments to pass to generic

Value

A vector of coefficients for a linreg class object

Examples

1
2
3
data(mtcars)
model <- linreg(mpg~wt+cyl, mtcars, QR = FALSE)
coef(model)

hankOlofs/LinReg documentation built on Oct. 26, 2020, 12:17 p.m.