Description Usage Arguments Value Examples
View source: R/model_functions.R
Definition of health state class or health state constructor
1 | health_state(name, cost_expr, utility_expr, time = 0, absorb = FALSE)
|
name |
name of the health state |
cost_expr |
value or expression that represents cost of the health state |
utility_expr |
value or expression that represents utility of the health state |
time |
denoting how long in the state |
absorb |
boolean indicating health state abosribing or not |
value of the state
1 | st <- health_state("IT", 100, 0.4, 0, FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.