plot_epi_prob: Plot epidemic risk

Description Usage Arguments Value Examples

Description

Plots the probability of an epidemic as a function of the number of reported local cases

Usage

1
plot_epi_prob(df, max_detect = 10)

Arguments

df

A dataframe that is the output of get_epidemic_prob_by_d

max_detect

The maximum number of cases to plot on the x-axis

Value

A ggplot object with cowplot theme final size histogram

Examples

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)

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