README.md

fable.bsts

lifecycle

This package provides a tidy R interface to the bsts forecasting procedure using fable. This package makes use of the bsts package for R.

While the BSTS() function works in the fable::model() framework, not all functionality from the package has been implemented.

Completed

In Progress

Use

# library(tidyverse)
# 
# source("data-raw/lax_passengers.R")
# data <- lax_passengers %>%
#   mutate(date = yearmonth(date))
#   
# data %>%
#   fabletools::model(
#     bsts = BSTS(passengers ~ intercept() + ar() + seasonal("1 day"))
#   ) %>%
#   fabletools::forecast(h = 48) %>%
#   autoplot()

Specials implemented:



davidtedfordholt/fable.bsts documentation built on Sept. 15, 2020, 11:38 a.m.