| fv_extract_forecast | R Documentation |
Uses the observed variable returned by
fv_tidy_posterior() to return posterior predictions
for forecast dates only.
fv_extract_forecast(posterior)
posterior |
A dataframe of posterior output as produced by
|
A data.frame of forecasts in the format returned
by fv_tidy_posterior() but with fitting variables dropped.
Functions used for postprocessing of model fits
convert_to_stanfit(),
extract_draws(),
extract_forecast_dates(),
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()
p <- fv_example(strains = 2, type = "posterior")
fv_extract_forecast(p)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.