Coerce to a fable object
as_fable(x, ...) # S3 method for tbl_ts as_fable(x, response, distribution, ...) # S3 method for grouped_ts as_fable(x, response, distribution, ...) # S3 method for tbl_df as_fable(x, response, distribution, ...) # S3 method for fbl_ts as_fable(x, response, distribution, ...) # S3 method for grouped_df as_fable(x, response, distribution, ...) # S3 method for forecast as_fable(x, ..., point_forecast = list(.mean = mean))
x | Object to be coerced to a fable ( |
---|---|
... | Additional arguments passed to methods |
response | The character vector of response variable(s). |
distribution | The name of the distribution column (can be provided using a bare expression). |
point_forecast | The point forecast measure(s) which should be returned
in the resulting fable. Specified as a named list of functions which accept
a distribution and return a vector. To compute forecast medians, you can use
|