get_elimProbs: Get Elimination Probabilities

View source: R/get_elimProbs.R

get_elimProbsR Documentation

Get Elimination Probabilities

Description

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.

Usage

get_elimProbs(sims, model)

Arguments

sims

data.frame containing simulations from one of the vaccination scenarios

model

numeric in c(1, 3) indicating which model the simulations are from.

Details

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.

Value

A list containing the Probability of Elimination (probElim), Cumulative Infections (cumInf), and Probability of Elimination over time (ElimTime).


zjiang2/haitipkg documentation built on March 1, 2024, 11:34 p.m.