Description Usage Arguments Value Examples
Function to calculate R0 from a contact matrix
1 |
CM |
an object of class CM |
tau |
= probability of infection across an edge |
gamma |
= probability of removal per time step |
the R0
1 2 | cm1=BarabasiAlbert(N=200,K=2)
r0fun(cm1, 0.3, 0.1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.