coef.linreg: Method coef.linreg

Description Usage Arguments Value Source Examples

View source: R/coef.R

Description

Method coef.linreg

Usage

1
2
## S3 method for class 'linreg'
coef(formula, data)

Arguments

l_full_linreg

The full output of the linear regression model.

Value

The coefficients of the linear regression analysis of the input data

Source

http://web.nchu.edu.tw/~numerical/course1012/ra/Applied_Regression_Analysis_A_Research_Tool.pdf

Examples

1
2
coef.linreg(Petal.Length~Species, data = iris)
coef.linreg(Employed ~ ., longley)

AdelaidaK/Lab4AdvancedR documentation built on Dec. 17, 2021, 7:40 a.m.