gen_labels: generates the appropriate strata labels for the number of...

View source: R/support.R

gen_labelsR Documentation

generates the appropriate strata labels for the number of strata in the model, which depends on the value given to n_erlang and diagnosis history levels desired (n_diag_rec)

Description

generates the appropriate strata labels for the number of strata in the model, which depends on the value given to n_erlang and diagnosis history levels desired (n_diag_rec)

Usage

gen_labels(n_erlang = 1, n_diag_rec = 1)

Arguments

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 levels of diagnosis history for each X, V(*n_erlang), and W stratum

Value

a character vector of length n_vax containing strata labels


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