initial_params_xpvwrh: Initial conditions for the model

View source: R/onevax_xpvwrh.R

initial_params_xpvwrhR Documentation

Initial conditions for the model

Description

Create initial conditions for the model

Usage

initial_params_xpvwrh(
  pars,
  coverage_p = 0,
  coverage_v = 0,
  hes = 0,
  t = FALSE,
  n_erlang = 1,
  n_diag_rec = 1
)

Arguments

pars

A parameter list containing 'N0', 'q', 'prev_Asl' and 'prev_Ash' elements.

coverage_p

partial (one-dose) vaccine coverage of the population already present (as a proportion)

coverage_v

two-dose vaccine coverage of the population already present (as a proportion)

hes

proportion of population vaccine hesitant

t

number of years, only use when using function outside of run_onevax_xpvwrh() to generate initial conditions for tests

n_erlang

integer giving the number of transitions that need to be made through vaccine-protected strata until that protection has waned

n_diag_rec

number of diagnosis history strata

Value

A list of initial conditions


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