simul_from_post | R Documentation |
Use posterior distributions of a fitted object to simulate an epidemic.
simul_from_post(post.abc, prm, hosp.var, case.var, ci = 0.95, n.cores = 4)
post.abc |
Dataframe of posterior values. |
prm |
List of (not fitted) model parameters. |
hosp.var |
String. Type of hospitalization; |
case.var |
String. Type of date for clinical cases; |
ci |
Numeric. Credible interval level. Default = 0.95. |
n.cores |
Integer. Number of cores used for parallel computing. |
Dataframe of summary statistics time series.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.