View source: R/MappingFunctions.R
estRisk | R Documentation |
Calculates the percentage probability that one or more persons in a group, with size G, may be infectious given the underlying prevalence of disease.
estRisk(pcActiveCases, A, G, rounding = 0)
pcActiveCases |
Per capita active cases. |
A |
Ascertainment bias (ratio of infections to cases) |
G |
Event size for risk to be calculated for. |
rounding |
Number of decimal places to round to. Default of 0. |
Returns the risk that one or more people at an event size G may be infectious given case prevalence and ascertainment bias parameters.
calcRisk()
# estimated risk that one or more are infectious in a group of 100, # when there are 50 active cases in population of 10,000 and cases # are underascertained by a factor of 4. estRisk(50 / 10000, 4, 100)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.