create_uptake_map_xvwr: Creates uptake mapping array with dimensions n_group x n_vax...

View source: R/uptake_maps.R

create_uptake_map_xvwrR Documentation

Creates uptake mapping array with dimensions n_group x n_vax x n_vax and assigns the relevant primary uptake and booster uptake values defined by the user.

Description

Creates uptake mapping array with dimensions n_group x n_vax x n_vax and assigns the relevant primary uptake and booster uptake values defined by the user.

Usage

create_uptake_map_xvwr(
  n_group,
  n_vax,
  primary_uptake,
  booster_uptake,
  idx,
  n_diag_rec = 1,
  screening_or_diagnosis
)

Arguments

n_group

scalar indicating number of activity groups

n_vax

scalar indicating number the number of stratum in the model

primary_uptake

proportion of the unvaccinated population who accept primary vaccination

booster_uptake

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

idx

list containing indices of all X, V, W, R 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 with dimensions n_group x n_vax x n_vax


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