R/distribution_vaccines.R
assign_doses.Rd
Given a list of bitsets indicating who is eligible for this dose from target_pop
,
and the number of doses available today doses_left
, schedule individuals for doses.
If fewer doses are available than eligible persons, the doses are apportioned
proportional to age group size.
assign_doses(doses_left, events, dose, eligible, parameters)
the number of vaccine doses available
a list of model events
what dose to assign for
output of target_pop
a list of model parameters