Description Usage Arguments Value Examples
Plots the probability of an epidemic as a function of the number of reported local cases
1 | plot_epi_prob(df, max_detect = 10)
|
df |
A dataframe that is the output of |
max_detect |
The maximum number of cases to plot on the x-axis |
A ggplot object with cowplot theme final size histogram
1 2 3 4 | travis_parms <- get_county_parms("travis")
travis_sims <- run_n_zika_sims(num_reps = 1000, sim_parms)
travis_epi_prob <- get_epidemic_prob_by_d(travis_sims, prev_threshold = 10, cum_threshold = 100)
plot_epi_prob(travis_epi_prob)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.