Coerce to a dable object

as_dable(x, ...)

# S3 method for tbl_df
as_dable(x, response, method = NULL, seasons = list(), aliases = list(), ...)

# S3 method for tbl_ts
as_dable(x, response, method = NULL, seasons = list(), aliases = list(), ...)

Arguments

x

Object to be coerced to a dable (dcmp_ts)

...

Additional arguments passed to methods

response

The response variable(s). A single response can be specified directly via response = y, multiple responses should be use response = c(y, z).

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.