Simulate function for SIR - called as part of denv_MCMC
1 | Run_simulation(dt, theta, theta_init, time.vals)
|
dt |
time step |
theta |
vector of parameter values. Must include npop1, beta, gamma and rep |
theta_init |
vector of initial valeus for S I R and C |
time.vals |
Time series to estimate over |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.