A dable (decomposition table) data class (dcmp_ts) which is a tsibble-like data structure for representing decompositions. This data class is useful for representing decompositions, as its print method describes how its columns can be combined to produce the original data, and has a more appropriate autoplot() method for displaying decompositions. Beyond this, a dable (dcmp_ts) behaves very similarly to a tsibble (tbl_ts).

dable(..., response, method = NULL, seasons = list(), aliases = list())

Arguments

...

Arguments passed to tsibble::tsibble().

response

The name of the response variable column.

method

The name of the decomposition method.

seasons

A named list describing the structure of seasonal components (such as period, and base).

aliases

A named list of calls describing common aliases computed from components.