LinearRegression: Linear Regression

Description Usage Arguments Value Author(s) See Also

View source: R/LinearRegression.R

Description

This function returns a list object containing the weights, fitted values, and residuals from fitting a linear regression of y on X.

It supports a continuous response and several continuous features.

Usage

1

Arguments

X

a dataframe containing continuous features,

y

a numeric vector of same length containing the response.

Value

A list containing:

weights

the estimates of the parameters of the linear regression,

fitted

the fitted values,

residuals

the residuals.

Author(s)

Maud Boucherit

See Also

Karl::eda, Karl::plot_karl


UBC-MDS/Karl documentation built on May 22, 2019, 1:53 p.m.