Description Usage Arguments Value
Infection_sim
produces a list of generations detailing an infection process
1 2 | Infection_sim(N = 1e+05, R0 = 2, Tg = 2.6, fixed.offspring = FALSE,
scale = 1, size = 1, real.time = FALSE, continous.time = TRUE)
|
N |
Target infected population size. Default = 1e5 |
R0 |
basic reproduction number. Default = 2 |
Tg |
mean generation time. Default = 2.6 days |
fixed.offspring |
Boolean dictating whether R0 offspring are always produced. Default = FALSE |
scale |
rgamma scale parameter. Default = 1 |
size |
rnbinom size parameter Default = 1 |
real.time |
Boolean dictating. whether an extra generation is simulated producing extra for real.time consideration.Default = FALSE |
continous.time |
Boolean dictating whether gamma process is used for generation time distribution. Default = TRUE |
Returns a list of 5 lists
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.