initial_params_xvw_trial: Initial conditions for the model in a vaccine trial

View source: R/onevax_xvw_trial.R

initial_params_xvw_trialR Documentation

Initial conditions for the model in a vaccine trial

Description

Create initial conditions for the model in a vaccine trial

Usage

initial_params_xvw_trial(pars, p_v = 0.5, n_erlang = 1, n_diag_rec = 1)

Arguments

pars

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

p_v

scalar giving proportion of the trial cohort vaccinated

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

integer giving the number of each X, V(erlang), and W stratum, allowing tracking of diagnosis history. e.g for a n_diag_rec = 2 and erlang = 1, there will be X.I, X.II, V1.I, V1.II, W.I, W.II strata. Where '.I' corresponds to never-diagnosed individuals and '.II' is for individuals diagnosed at least once.

Value

A list of initial conditions.


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