box_plot_max_weekly_cases: Create box plots of maximum weekly cases by scenario

Description Usage Arguments Author(s)

Description

Create box plots of maximum weekly cases by scenario

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
box_plot_max_weekly_cases(
  results = NULL,
  cap_cases = 5000,
  extinct_thresold = 0.1,
  inf_shift_value = 3,
  prop_asym = 0.4,
  facet_scales = "fixed",
  filt_control_effectiveness = 0.4,
  flip_coords = FALSE,
  num_initial_cases = 20,
  record_params = FALSE,
  y_lim = NULL
)

Arguments

results

results of the branching model in a data.frame or tibble

cap_cases

the maximimum number of cases per outbreak scenario; default is 5000

extinct_thresold

filters the minimum proportion of simulations that become extinct per scenario; default 0.8

inf_shift_value

Value of inf_shift to subset data to.

prop_asym

A numeric string defaulting to 0. Filters the proportion of infectiouns are asymptomatic

facet_scales

passed to facet_grid’s scales parameter; default is "fixed"

filt_control_effectiveness

filters by the minimum control effectiveness proportion; default is 0.4

flip_coords

flip coordinates of the box plot; default is FALSE

num_initial_cases

filters by the number of initial cases in the scenario; default is 40

record_params

option to display the params as a caption (used for testing); default FALSE

y_lim

Numeric the limit of the y axis to show.

Author(s)

Amy Gimma and Sam Abbott


emmalouisedavis/TTI-branching-process documentation built on Dec. 20, 2021, 5:17 a.m.