glance.fbl_prophet | R Documentation |
A glance of a prophet provides the residual's standard deviation (sigma), and a tibble containing the selected changepoints with their trend adjustments.
## S3 method for class 'fbl_prophet'
glance(x, ...)
x |
model or other R object to convert to single-row data frame |
... |
other arguments passed to methods |
A one row tibble summarising the model's fit.
if (requireNamespace("tsibbledata")) {
library(tsibble)
library(dplyr)
fit <- tsibbledata::aus_production %>%
model(
prophet = prophet(Beer ~ season("year", 4, type = "multiplicative"))
)
glance(fit)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.