View source: R/transmissionRates.R
| transmissionRates | R Documentation |
Calculate transmission rate matrix for multi-group model with specified R0
transmissionRates(R0, meaninf, reltransm)
R0 |
overall basic reproduction number |
meaninf |
mean duration of infectious period |
reltransm |
matrix with relative transmission rates, from column-group to row-group |
a matrix of transmission rates to (row) and from (column) each group, in same time units as meaninf
transmissionRates(R0 = 15, meaninf = 7,
reltransm = rbind(c(1, 0.5, 0.9), c(0.3, 1.9, 1), c(0.3, 0.6, 2.8)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.