fit_stats: Test the fit of a model on a train and test set.

View source: R/test_fit.R

fit_statsR Documentation

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)

Arguments

model

An lm model.

df_train

A data frame with the training data.

df_test

A data frame with the test data.

Value

A data frame with the fit statistics.


coursekata documentation built on Sept. 11, 2024, 8:42 p.m.