tidy.fbl_prophet function

Extract estimated coefficients from a prophet model

Extract estimated coefficients from a prophet model

## S3 method for class 'fbl_prophet' tidy(x, ...)

Arguments

  • x: An object to be converted into a tidy tibble::tibble().
  • ...: Additional arguments to tidying method.

Returns

A tibble containing the model's estimated parameters.

Examples

if (requireNamespace("tsibbledata")) { library(tsibble) library(dplyr) fit <- tsibbledata::aus_production %>% model( prophet = prophet(Beer ~ season("year", 4, type = "multiplicative")) ) tidy(fit) # coef(fit) or coefficients(fit) can also be used }