Description Usage Arguments Value Examples
Get the epidemic probability as a function of number of reported cases
1 2 | get_epidemic_prob_by_d(trials, prev_threshold, cum_threshold, max_detect = 50,
num_necessary = 1)
|
trials |
A list with simulated zika outbreaks. Usually utput of |
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 |
A dataframe of rows max_detect+1 that has column for detected, and column for prob_epidemic given that detected number
1 2 3 4 | ## Not run:
get_epidemic_prob_by_d(trials, 5, 100, 15, 1)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.