Description Usage Arguments Value See Also
Calculates the final size of an epidemic given 2-dimensional population categorisation eg. age and immunity class using an SIR model
1 | epi_ode_size(C1, R0, Tg, Ns, alphas)
|
C1 |
the non-normalised contact matrix of contact frequencies between each age class |
R0 |
the disease specific R0 (transmission rate). Note that another parameter will mediate the contact rate |
Tg |
number of days spent infectious (ie. 1/gamma) |
Ns |
the matrix of population sizes for each age/titre combination (non-normalised) (ie. rows = ages, cols = immunity classes) |
alphas |
a vector of values between 0 and 1 matching the number of immunity classes |
an NxM matrix of attack rates (ie. proportion of susceptibles becoming infected)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.