format_fit {EpiNow2} | R Documentation |
Format Posterior Samples
Description
Summaries posterior samples and adds additional custom variables.
Usage
format_fit(posterior_samples, horizon, shift, burn_in, start_date, CrIs)
Arguments
posterior_samples |
A list of posterior samples as returned by
|
horizon |
Numeric, forecast horizon. |
shift |
Numeric, the shift to apply to estimates. |
burn_in |
Numeric, number of days to discard estimates for. |
start_date |
Date, earliest date with data. |
CrIs |
Numeric vector of credible intervals to calculate. |
Value
A list of samples and summarised posterior parameter estimates.
Author(s)
Sam Abbott
[Package EpiNow2 version 1.4.0 Index]