View source: R/onevax_xpvwrh.R
create_vax_map_branching | R Documentation |
Create mapping for movement between strata due to vaccination where vaccination uptake splits off into two types (partial and full) from the naive population (X). Different to create_vax_map as this function specifically maps vbe to V (3) than P(2)
create_vax_map_branching(n_vax, v, i_e, i_p, set_vbe = FALSE, idx)
n_vax |
Integer denoting total number of strata |
v |
0-1 vector of length two indicating whether activity group should be offered vaccination. |
i_e |
indices of strata eligible for vaccination |
i_p |
indices of strata vaccinated and protected |
set_vbe |
Boolean which indicates that vaccination is occurring at some level of uptake upon entering the model |
idx |
list containing indices of all X, P, V, W, R & H strata and n_vax through vaccine-protected strata until that protection has waned |
an array of the mapping
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.