Link dates by time for posterior parameter estimates
Source:R/postprocess.R
link_dates_with_posterior.RdLink dates by time for posterior parameter estimates
Arguments
- posterior
A data frame of summarised posterior estimates as returned by
cmdstanr::summary()with an additional type variable which contains the following character string options: "non-VOC", "VOC", "Combined", "Overall".- data
A list of data as returned in the "data" entry of the output returned by
fv_sample().- 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.
See also
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()