linreg: Fitting linear regression

Description Usage Arguments Value References Examples

View source: R/linreg.R

Description

linreg is used to fit linear regression models.

Usage

1

Arguments

formula

an object of class formula.

data

a data frame containing all the variables in the regression model stated in the argument formula.

Value

linreg return a named list of class "linreg".

References

https://en.wikipedia.org/wiki/Linear_regression

Examples

1
linreg(formula = Petal.Length ~ Sepal.Length + Sepal.Width, data = iris)

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