View source: R/onevax_xvw_trial.R
stratum_index_xvw_trial | R Documentation |
Generate the indices of all xvw trial strata
stratum_index_xvw_trial(n_erlang, n_diag_rec = 1)
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. |
A list of strata with their indices
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.