initial_params_trial: Initial conditions for the model trial where the entire...

View source: R/parameters_trial.R

initial_params_trialR Documentation

Initial conditions for the model trial where the entire cohort is in the high sexual activity group.

Description

Create initial conditions for the model trial

Usage

initial_params_trial(pars, n_vax = 1, p_v = 1, n_diag_rec = n_diag_rec)

Arguments

pars

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

n_vax

an integer indicating the number of vaccine compartments

p_v

a vector of length 'n_vax' that sums to 1 denoting the proportion in each vaccine stratum

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 model states


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