bsts: BSTS with Stan

Description Usage Arguments Value

View source: R/models.R

Description

BSTS with Stan

Usage

1
bsts(y, num_pred = 10, vb = FALSE, prior_var_phi = 0.1, ...)

Arguments

y

Numeric vector of output values, i.e. vector of a series of R_t values

num_pred

number of time points to forecast

...

Arguments passed to 'rstan::sampling' (e.g. iter, chains).

Value

An object of class 'stanfit' returned by 'rstan::sampling'


nikosbosse/epipredictr documentation built on April 7, 2020, 9:51 p.m.