get_epidemic_prob_by_d: Get the epidemic probability as a function of number of...

Description Usage Arguments Value Examples

Description

Get the epidemic probability as a function of number of reported cases

Usage

1
2
get_epidemic_prob_by_d(trials, prev_threshold, cum_threshold, max_detect = 50,
  num_necessary = 1)

Arguments

trials

A list with simulated zika outbreaks. Usually utput of run_n_zika_sims

prev_threshold

The maximum autochthonous prevalence necessary to be classifed as an epidemic - depends on individual scenario run values

cum_threshold

The cumulative autochthonous infections necessary to be classified as an epidemic - usually the e_thresh value of the runs

max_detect

The maximum number of detections to go to.

num_necessary

Number of instances of trials to be necessary before it gets a probability. Usually want to be ~1% of total runs

Value

A dataframe of rows max_detect+1 that has column for detected, and column for prob_epidemic given that detected number

Examples

1
2
3
4
## Not run: 
get_epidemic_prob_by_d(trials, 5, 100, 15, 1)

## End(Not run)

sjfox/rtZIKVrisk documentation built on May 30, 2019, 12:04 a.m.