tidy.fbl_prophet | R Documentation |
Extract estimated coefficients from a prophet model
## S3 method for class 'fbl_prophet'
tidy(x, ...)
x |
An object to be converted into a tidy |
... |
Additional arguments to tidying method. |
A tibble containing the model's estimated parameters.
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
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.