sw_glance: Construct a single row summary "glance" of a model, fit, or...

View source: R/sw_glance.R

sw_glanceR Documentation

Construct a single row summary "glance" of a model, fit, or other object

Description

Construct a single row summary "glance" of a model, fit, or other object

Usage

sw_glance(x, ...)

Arguments

x

model or other R object to convert to single-row data frame

...

other arguments passed to methods

Details

sw_glance() is a wrapper for broom::glance(). The benefit of sw_glance is that it has methods for various time-series model classes such as HoltWinters, ets, Arima, etc. sw_glance methods always return either a one-row tibble or NULL. The single row includes summary statistics relevent to the model accuracy, which can be used to assess model fit and quality.

For non-time series, sw_glance() defaults to broom::glance(). The only difference is that the return is a tibble.

Value

single-row tibble with model summary information.

See Also

broom::glance()


sweep documentation built on July 9, 2023, 7:10 p.m.