format_fit | R Documentation |
Summaries posterior samples and adds additional custom variables.
format_fit(posterior_samples, horizon, shift, burn_in, start_date, CrIs)
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. |
A list of samples and summarised posterior parameter estimates.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.