summarize_model_fit: Produce metrics for the quality of the model fit.

View source: R/modeling_phrases.R

summarize_model_fitR Documentation

Produce metrics for the quality of the model fit.

Description

A wrapper for glance which obtains metrics on the goodness of fit of the model. For the linear model in particular, some metrics are suppressed.

Usage

summarize_model_fit(mean.model)

summarise_model_fit(mean.model)

Arguments

mean.model

lm or glm model fit defining the model for which the goodness of fit should be summarized.

Value

A data.frame containing one row of summary metrics.

Examples

fit <- lm(mpg ~ hp, data = mtcars)
summarize_model_fit(fit)


reyesem/IntroAnalysis documentation built on March 29, 2025, 3:29 p.m.