Description Usage Arguments Details
Draw posterior results from the Infection Curve (Cubic Spline)
1 2 3 4 5 6 7 | draw_posterior_infxn_cubic_splines(
IFRmodel_inf,
whichrung = "rung1",
dwnsmpl,
by_chain = TRUE,
by_strata = FALSE
)
|
IFRmodel_inf |
R6 class; The result of the IFR Model MCMC run along with the model input. |
whichrung |
character; Specify which rung to sample from (default is rung1) |
dwnsmpl |
integer; Number of posterior results to draw – weighted by posterior prob |
by_chain |
logical; Whether or not credible intervals should be reported with respect to individual chains (TRUE) or not. |
by_strata |
logical; Whether posterior infection curves should be split by strata |
Given sampling iterations with posterior-log-likes greater than or equal to a specific threshold, posterior results for the linear spline are generated. Assumed that the spline was fit in "un-transformed" space
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.