link_dates_with_posterior | R Documentation |
Link dates by time for posterior parameter estimates
link_dates_with_posterior(posterior, data, timespan = 7, mod_end = 0)
posterior |
A data frame of summarised posterior estimates
as returned by |
data |
A list of data as returned in the "data" entry of the output
returned by |
timespan |
Integer, defaults to 7. Indicates the number of days between each observation. Defaults to a week. |
mod_end |
Integer, defaults to 0. Amount to shift the end date of estimates. |
A posterior data.frame
with an additional data column.
Functions used for postprocessing of model fits
convert_to_stanfit()
,
extract_draws()
,
extract_forecast_dates()
,
fv_extract_forecast()
,
fv_posterior()
,
fv_tidy_posterior()
,
link_obs_with_posterior()
,
plot.fv_posterior()
,
print.fv_posterior()
,
quantiles_to_long()
,
summary.fv_posterior()
,
update_voc_label()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.