powered by
Calculates effective probability of infection (adjusted design prevalence) for each risk group for risk-based surveillance activities
epi.calc(pstar, rr, ppr)
design prevalence (scalar)
relative risk values (vector of values corresponding to the number of risk strata)
population proportions corresponding to rr values (vector of equal length to rr)
list of 2 elements, a vector of EPI values and a vector of corresponding adjusted risks (in corresponding order to rr)
# NOT RUN { # examples for epi.calc epi.calc(0.1, c(5, 1), c(0.1, 0.9)) epi.calc(0.02, c(5, 3, 1), c(0.1, 0.1, 0.8)) # }
Run the code above in your browser using DataLab