resid.linreg: Method resid.linreg

Description Usage Arguments Value Source Examples

View source: R/resid.R

Description

Method resid.linreg

Usage

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

Arguments

l_full_linreg

The full output of the linear regression model.

Value

The residuals 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
resid.linreg(Petal.Length~Species, data = iris)
resid.linreg(Employed ~ ., longley)

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