Description Usage Arguments Value Author(s) See Also
View source: R/LinearRegression.R
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.
1 | LinearRegression(X, y)
|
X |
a dataframe containing continuous features, |
y |
a numeric vector of same length containing the response. |
A list containing:
weights |
the estimates of the parameters of the linear regression, |
fitted |
the fitted values, |
residuals |
the residuals. |
Maud Boucherit
Karl::eda, Karl::plot_karl
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.