View source: R/get_elimProbs.R
| get_elimProbs | R Documentation |
This function takes simulations from a model as input, and outputs a list containing the probability of elimination, Cumulative Infections, and probability of elimination over time.
get_elimProbs(sims, model)
sims |
data.frame containing simulations from one of the vaccination scenarios |
model |
numeric in c(1, 3) indicating which model the simulations are from. |
The probability of elimination is calculated as:
Probability of EliminationThe proportion of simulations that achieved less than one infection with V cholerae (including reported and unreported infections) over at least 52 consecutive weeks.
Cumulative InfectionsMedian estimate with 95% CI of cumulative infections from February 2019, to February 2024.
Probability of elimination over timehe proportion of simulations that achieved less than one infection with V cholerae (including reported and unreported infections) over at least 52 consecutive weeks, over time.
A list containing the Probability of Elimination (probElim), Cumulative Infections (cumInf), and Probability of Elimination over time (ElimTime).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.