Skip to contents

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

Usage

intervention_protocol(int_parms, sim_parms, tanh_slope)

Arguments

int_parms

parameters of the interventions as according to a InterventionParameters object.

sim_parms

parameters of the simulation timeframe as according to a SimulationParameters object.

tanh_slope

sharpness of the intervention waves used for function continuity purposes.