Description Usage Arguments Value
This function is used to build linear models. It can be used to carry out simple linear regression (SLR), multiple linear regression (MLR).
1 |
Y |
A vector or matrix (one column only) of outcome values. |
X |
A vector or matrix (one or multiple columns) of predictors. |
has_intercept |
A boolean variable determines whether the model includes a intercept. |
A list of attributes of the linear model.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.