View source: R/onevax_xpvwrh.R
restart_hes | R Documentation |
uses XPVWRH model run in the absence of vaccination or hesitancy. Saves down the number of individuals in each compartment, and moves a given proportion (hes) of them from the X to the H strata to generate new initial conditions in the presence of hesitancy.
restart_hes(
y,
n_vax = 6,
hes = 0,
n_erlang = 1,
n_diag_rec = 1,
branching = FALSE
)
y |
a transformed model run output |
n_vax |
an integer indicating the number of vaccine compartments, consistent with the input |
hes |
proportion of population vaccine hesitant |
n_erlang |
integer giving the number of transitions that need to be made |
n_diag_rec |
integer for the number of diagnosis history substrata |
branching |
boolean to denote if xpvwrh branching model in use |
A list of initial conditions to restart a model with n_vax vaccination levels, and a populated hestitant stratum in the given proportion 'hes'
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.