View source: R/distribution_vaccines.R
target_pop | R Documentation |
Given the current dosing phase (dose
), the current step of the strategy matrix (strategy_matrix_step
)
and possible the age groups prioritized for the next dose next_dose_priority
, figure out who should get this dose
.
This will return a list of bitsets giving people who are eligible to get this dose, taking into account that they
have not yet had it, nor are scheduled for it, and (if dose > 1) are past the threshold for their previous dose.
target_pop( dose, variables, events, parameters, timestep, dt, strategy_matrix_step, next_dose_priority = NULL )
dose |
what dose to target (the phase we are vaccinating) |
variables |
a list of model variables |
events |
a list of model events |
parameters |
a list of parameters |
timestep |
the current time step |
dt |
the size of the time step |
strategy_matrix_step |
the current step of the strategy matrix |
next_dose_priority |
(optional) a row of the next dose priority matrix |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.