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

View source: R/uptake_maps.R

create_uptake_map_xvwR 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_xvw(
  n_group,
  n_vax,
  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

uptake

proportion of the unvaccinated population who accept vaccination

idx

list containing indices of all X, V, W 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.