View source: R/distribution_vaccines.R
get_current_eligible_from_coverage | R Documentation |
Get people who are eligible for this dose, from the output of get_current_coverage
.
Because coverage
is people (by age) who either have this dose or are scheduled for it,
if we are checking eligibility for dose 1 we just want the complement of those people. For doses > 1 we need to
first take the complement and then check
to see who of those persons got their previous dose past the waiting threshold.
This function returns a list of bitsets.
get_current_eligible_from_coverage( timestep, dt, coverage, variables, dose, parameters )
timestep |
the current time step |
dt |
time step size |
coverage |
output of |
variables |
a list of model variables |
dose |
what dose to get eligibility for |
parameters |
a list of parameters |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.