get_time_since_last_dose_or_infection | R Documentation |
Calculate the time elapsed in days since each person's last dose or infection
get_time_since_last_dose_or_infection( timestep, dt, vaccinated_or_infected, dose_time, inf_time )
timestep |
current time step |
dt |
size of time step |
vaccinated_or_infected |
individual::Bitset of vaccinated persons |
dose_time |
an individual::IntegerVariable object |
inf_time |
an individual::IntegerVariable object |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.