R/aux_functions.R
extinct_prob.Rd
Calculate proportion of runs that have controlled outbreak
extinct_prob(outbreak_df_week = NULL, cap_cases = NULL, week_range = 12:16)
data.table weekly cases produced by the outbreak model
integer number of cumulative cases at which the branching process was terminated
integer vector giving the (zero indexed) week range to test for whether an extinction occurred.