as_dable {fabletools}R Documentation

Coerce to a dable object

Description

Coerce to a dable object

Usage

as_dable(x, ...)

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

## S3 method for class '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 character vector of response variable(s).

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.


[Package fabletools version 0.4.2 Index]