sweep (version 0.2.5)

sw_glance: 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, ...)

Value

single-row tibble with model summary information.

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.

See Also