Description Usage Arguments Value
Create an lm model just specifying columns, generating a formula for you.
1 |
train_matrix |
A matrix (or data.frame) of data to train (fit) the model with. |
criterion_col |
The index of the criterion column– "y" in the formula. |
cols_to_fit |
A vector of column indexes to fit– the "x's" in the formula. |
include_intercept |
A boolean of whether to include an intercept in the formula. |
An object of class lm.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.