Tidy the result of a time-series model into a summary tibble
Details
sw_tidy()
is a wrapper for broom::tidy()
. The main benefit of sw_tidy()
is that it has methods for various time-series model classes such as
HoltWinters
, ets
, Arima
, etc.
sw_tidy()
methods always returns a "tidy" tibble with model coefficient / parameters.
For non-time series, sw_tidy()
defaults to broom::tidy()
.
The only difference is that the return is a tibble.
The output of sw_tidy()
is always a tibble with disposable row names. It is
therefore suited for further manipulation by packages like dplyr and
ggplot2.