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

View source: R/parameters.R

create_uptake_mapR 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(
  n_group,
  n_vax,
  primary_uptake,
  booster_uptake,
  i_eligible,
  i_v,
  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

i_eligible

vector of indices of stratum which are eligible for vaccination, of same length as the number of paths from unvaccinated to vaccinated

i_v

vector of indices of stratum which are vaccinated and experience protection

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.