coef.linreg: Coefficeients of the estimated regression model

Description Usage Arguments Value Examples

View source: R/coef.R

Description

Coefficeients of the estimated regression model

Usage

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

Arguments

object

is a linreg object

...

Extra stuff

Value

Returns the estimated coefficients of the fitted linear model

Examples

1
2
model <- linreg(Sepal.Length ~ Species, data = iris)
coef(model)

linuskage2021/lab4Rpackage documentation built on Dec. 21, 2021, 10:51 a.m.