Description Usage Arguments Value Methods (by class)
Fit a regression model
Generic function for fitting a regression model
1 2 3 4 | regression_model(method, formula, training_data, ...)
## Default S3 method:
regression_model(method, formula, training_data, ...)
|
method |
The regression method to use |
formula |
An object of class 'formula', used to fit a model to the data |
training_data |
Train data used to fit the model |
... |
Further arguments |
model The fitted model
default
: Default function for fitting a regression model
This get
s the method and calls it using formula and data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.