linreg-class: A RC class for multiple linear regression

Description Fields Methods

Description

A RC class for multiple linear regression

Fields

formula

The formula object containing depedent and independent variables

data

A data frame object to apply the multiple linear regression to

Methods

coef()

Returns linear regression coefficients

pred()

Returns fitted values

print()

Prints the input and the coefficients in a user-friedly way

resid()

Returns residual vector

summary()

Returns a summary of the linear regression


brbatv/lab4 documentation built on May 3, 2019, 2:56 p.m.