| extract_draws | R Documentation |
Extract posterior draws
extract_draws(fit, ...)
fit |
A list as produced by |
... |
Additional parameters passed to |
A cmdstanr::draws() object from the posterior package.
Functions used for postprocessing of model fits
convert_to_stanfit(),
extract_forecast_dates(),
fv_extract_forecast(),
fv_posterior(),
fv_tidy_posterior(),
link_dates_with_posterior(),
link_obs_with_posterior(),
plot.fv_posterior(),
print.fv_posterior(),
quantiles_to_long(),
summary.fv_posterior(),
update_voc_label()
obs <- filter_by_availability(
germany_covid19_delta_obs,
date = as.Date("2021-06-12"),
)
dt <- fv_as_data_list(obs)
inits <- fv_inits(dt)
fit <- fv_sample(dt, init = inits, adapt_delta = 0.99, max_treedepth = 15)
extract_draws(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.