create_uptake_map_xpvwrh: Creates uptake mapping for the branching XPVWRH model where...

View source: R/uptake_maps.R View source: R/onevax_xpvwrh.R

create_uptake_map_xpvwrhR Documentation

Creates uptake mapping for the branching XPVWRH model where individuals can move from unvaccinated (X) to vaccinated (V) or partially vaccinated (P) as well as revaccinated from waned (W) to (R) and, and partially vaccinated (P) to fully vaccianted (V). The former reflects the specific indices which are chosen for assigning uptakes.

Description

Creates uptake mapping for the branching XPVWRH model where individuals can move from unvaccinated (X) to vaccinated (V) or partially vaccinated (P) as well as revaccinated from waned (W) to (R) and, and partially vaccinated (P) to fully vaccianted (V). The former reflects the specific indices which are chosen for assigning uptakes.

Creates uptake mapping for the branching XPVWRH model where individuals can move from unvaccinated (X) to vaccinated (V) or partially vaccinated (P) as well as revaccinated from waned (W) to (R) and, and partially vaccinated (P) to fully vaccianted (V). The former reflects the specific indices which are chosen for assigning uptakes.

Usage

create_uptake_map_xpvwrh(
  array,
  r1,
  r2,
  r2_p,
  booster_uptake,
  idx,
  n_diag_rec = 1,
  screening_or_diagnosis
)

create_uptake_map_xpvwrh(
  array,
  r1,
  r2,
  r2_p,
  booster_uptake,
  idx,
  n_diag_rec = 1,
  screening_or_diagnosis
)

Arguments

array

a vaccine map array of dimensions n_group by n_vax by n_vax generated through create_vax_map_branching()

r1

proportion of population offered vaccine only accepting the first dose, becoming partially vaccinated

r2

proportion of the population who accepted the first dose of the vaccine who go on to accept the second dose, becoming fully vaccinated

r2_p

proportion of partially vaccinated individuals who receive a second dose when returning to the clinic due to screening or illness

booster_uptake

proportion of the formerly fully vaccinated, waned population who accept a booster vaccination dose

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

n_diag_rec

integer for the number of diagnosis history substrata

screening_or_diagnosis

string indicating screening or diagnosis

Value

an array of the uptakes of same dimensions

an array of the uptakes of same dimensions


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