fit_stats: Test the fit of a model on a train and test set.
Description
Test the fit of a model on a train and test set.
Usage
fit_stats(model, df_train, df_test)fitstats(model, df_train, df_test)
Value
A data frame with the fit statistics.
Arguments
- model
An lm
model.
- df_train
A data frame with the training data.
- df_test
A data frame with the test data.