Description Usage Arguments Value See Also
Calculates the final size of an epidemic given 2-dimensional population categorisation eg. age and immunity class. Note that this uses the final size calculation similar to that in Kucharski et al. 2014 PLoS Pathogens.
1 | epi_final_size(C1, R0, Ns, alphas)
|
C1 |
the non-normalised contact matrix of contact frequencies between each age class |
R0 |
the disease specific R0 ie. beta and gamma. Note that another parameter will mediate the contact rate |
Ns |
the matrix of population sizes for each age or 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.