Skip to contents

This creates a grid of scenarios by crossing selected policy knobs.

Usage

chlaa_counterfactual_grid(
  trigger_time,
  horizon,
  aa_start_offset = 0,
  wash_duration = 120,
  care_duration = 120,
  chlor_effect = 0.2,
  hyg_effect = 0.2,
  lat_effect = 0.1,
  cati_effect = 0.1,
  orc_capacity = 500,
  ctc_capacity = 100,
  vax_regimen = c("none", "1dose", "2dose"),
  vax_total_doses = c(0, 280000),
  vax_delay = c(0, 14),
  vax_campaign_days = 6,
  vax_dose_interval = 14,
  prefix = "cf"
)

Arguments

trigger_time

Numeric trigger day.

horizon

End cap for intervention windows (typically max(time)+1).

aa_start_offset

Vector of offsets (days) added to trigger_time (negative = earlier).

wash_duration

Vector of durations (days).

care_duration

Vector of durations (days).

chlor_effect, hyg_effect, lat_effect, cati_effect

Vectors of fractional effects.

orc_capacity, ctc_capacity

Vectors of capacities.

vax_regimen

Vector of regimens: "none", "1dose", "2dose".

vax_total_doses

Vector of total doses.

vax_delay

Vector of delays from AA start (days).

vax_campaign_days

Campaign duration (days) per round.

vax_dose_interval

Interval between rounds (2-dose) in days.

prefix

Scenario name prefix.

Value

A data.frame with columns: scenario, modify, and knob columns.