R/distribution_vaccines.R
get_vaccination_priority_stage.Rd
Return which row of the strategy_matrix
the vaccination
program should be targeting for coverage. To complete a step, all phase
dose coverage should be > prioritisation matrix target and all phase + 1
dose coverage for prioritized groups should be > prioritisation matrix target.
If these two conditions are fulfilled for the entire phase
, the function returns
-1 to indicate that vaccination dosing phase
should be advanced.
get_vaccination_priority_stage(variables, events, phase, parameters)
a list of model variables
a list of model events
what dosing phase are we on
a list of parameters