Description Usage Arguments Value See Also Examples
Given an overall proportion of the population that should become infected, this function generates a uniform probability of infection between two time points.
1 | generate_uniform_inc(p_inf, t1, t2)
|
p_inf |
Proportion of population that should be infected |
t1 |
starting day |
t2 |
end day |
vector with probability of infection on each day
1 | generate_uniform_inc(0.4, 1,100)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.