Usage Arguments Value Examples
1 2 3 4 | fit_iteratively(incidences, n_pred = 14, interval = NULL,
start_period = 8, max_n_past_obs = Inf, model = "bsts",
n_samples = 4000, vb = FALSE, fit_type = "stan",
length_local_trend = 7, iter = 4000, ...)
|
incidences |
Vector of length n with the past incidences used to fit the model and make predictions. |
n_pred |
prediction horizon, i.e. number of days to predict into the future |
interval |
interval between predictions. Maybe delete? |
max_n_past_obs |
maximum number of past observations to take into account |
a data.frame with the data
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.