create_vax_map_branching: Create mapping for movement between strata due to vaccination...

View source: R/onevax_xpvwrh.R

create_vax_map_branchingR 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)

Description

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)

Usage

create_vax_map_branching(n_vax, v, i_e, i_p, set_vbe = FALSE, idx)

Arguments

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

Value

an array of the mapping


mrc-ide/gonovax documentation built on Dec. 15, 2024, 11:02 a.m.