Description Usage Arguments Value Examples
View source: R/model_functions.R
Define an all zero trace matrix
1 | init_trace(health_states, cycles)
|
health_states |
heatlh states |
cycles |
no of cycles |
trace matrix -all zero
1 2 3 4 | a <- health_state("Healthy", 1, 1, 0, FALSE)
b <- health_state("Dead", 1, 0.5, 0, FALSE)
health_states <- combine_state(a, b)
init_trace(health_states, 10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.