| state_space | R Documentation |
Names the model's state variables and lists the values each may take.
Supply this object to micsim_model().
state_space(...)
... |
Named character vectors, one per state variable. |
The state space contains all combinations of the supplied values. For
example, two sexes, three nationalities and two parity values give twelve
states. A label such as "f/DE/1" follows the order of the arguments.
Values must be distinct, both within and across variables. Avoid "/"
inside a value because that character separates label components.
An object of class micsim_state_space: the named list of
state-variable values.
micsim_model(), MicSim-concepts
state_space(sex = c("m", "f"), nat = c("DE", "AT"), fert = c("0", "1"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.