Learn R Programming

fable.prophet (version 0.1.0)

glance.fbl_prophet: Glance a prophet model

Description

A glance of a prophet provides the residual's standard deviation (sigma), and a tibble containing the selected changepoints with their trend adjustments.

Usage

# S3 method for fbl_prophet
glance(x, ...)

Arguments

x

model or other R object to convert to single-row data frame

...

other arguments passed to methods

Value

A one row tibble summarising the model's fit.

Examples

Run this code
# NOT RUN {
# }
# NOT RUN {
if (requireNamespace("tsibbledata")) {
library(tsibble)
library(dplyr)
fit <- tsibbledata::aus_production %>%
  model(
    prophet = prophet(Beer ~ season("year", 4, type = "multiplicative"))
  )

glance(fit)
}
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab