Description Usage Arguments Value Examples
This function takes in one or more linear regression models and compares the RMSE, R2 and MAE of those models with or without a new input data.
1 |
mod1 |
an object containing results returned by lm function |
... |
additional lm model object |
newdata |
newdata than used for training the model. By default NULL and the function evaluated model performance based on training data |
a dataframe with each row representing an input model and three columns of model performance evaluation criteria (RMSE, R2 and MAE)
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.