Description Usage Arguments Value
This function generate synthetic epidemic data using Sellke construction in Algorithm 3.1
1 |
n |
number of initial susceptible |
rho |
parmeters, tranmission rate, recovery rate, initial infective ratio |
beta |
parmeters, tranmission rate, recovery rate, initial infective ratio |
gamma |
parmeters, tranmission rate, recovery rate, initial infective ratio |
Tmax |
cutoff time of epidemic |
dt |
time increment |
returns are individual infection time and removed time.
number of rows are n + n*rho
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.