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 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

# \donttest{ if (requireNamespace("tsibbledata")) { library(tsibble) library(dplyr) fit <- tsibbledata::aus_production %>% model( prophet = prophet(Beer ~ season("year", 4, type = "multiplicative")) ) glance(fit) }
#> #> Attaching package: ‘dplyr’
#> The following objects are masked from ‘package:stats’: #> #> filter, lag
#> The following objects are masked from ‘package:base’: #> #> intersect, setdiff, setequal, union
#> # A tibble: 1 x 3 #> .model sigma changepoints #> <chr> <dbl> <list> #> 1 prophet 14.5 <tibble [25 × 2]>
# }