Construct a single row summary "glance" of a model, fit, or other object
Source:R/sw_glance.R
sw_glance.Rd
Construct a single row summary "glance" of a model, fit, or other object
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.