Skip to contents

Creates stacks of interventions using parameters of the model; used in the 'run' method of compartmental model with interventions.

Usage

stack_intervention_coverages(times, int_parms, tanh_slope)

Arguments

times

times between which we simulate.

int_parms

parameters of the interventions as according to a InterventionParameters object.

tanh_slope

sharpness of the intervention waves used for function continuity purposes.