View source: R/onevax_xvw_trial.R
vax_params_xvw_trial | R Documentation |
Create vaccination parameters for use in onevax_xvw_trial model, assign who experiences vaccine effects, and how waning occurs.
vax_params_xvw_trial(
vea = 0,
vei = 0,
ved = 0,
ves = 0,
dur = 1000,
n_erlang = 1,
stochastic = FALSE,
n_diag_rec = 1,
asymp_recorded = TRUE
)
vea |
scalar indicating efficacy of the vaccine against acquisition (between 0-1) |
vei |
scalar indicating efficacy of the vaccine against infectiousness (between 0-1) |
ved |
scalar indicating efficacy of the vaccine against duration (between 0-1) |
ves |
scalar indicating efficacy of the vaccine against symptoms (between 0-1) |
dur |
scalar indicating duration of the vaccine (in years) |
n_erlang |
integer giving the number of transitions that need to be made through vaccine-protected strata until that protection has waned |
stochastic |
logical indicating if the parameters are for the default deterministic trial model in continuous time or stochastic trial model in discrete time |
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. |
asymp_recorded |
logical indicating if the trial screens for and records asymptomatic diagnosis. If FALSE, asymptomatic infected individuals undergoing treatment do not move diagnosis history stratum |
A list of parameters in the model input format
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.