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)

Arguments

doses_left

the number of vaccine doses available

events

a list of model events

dose

what dose to assign for

eligible

output of target_pop

parameters

a list of model parameters