.scale.contact.rates | R Documentation |
Helper function for .sample.outer.events - calculate population rates
given per-contact rate (\beta
) and population sizes of source and
recipient populations, *i.e.*, \beta S I
.scale.contact.rates(mx, susceptible, infected)
mx: |
rate matrix for source->recipient events |
susceptible: |
named vector, number of uninfected Compartments per Type |
infected: |
named vector, number of infected Compartments per Type |
matrix of same dimensions as 'mx'
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.