Description Usage Arguments Value Examples
View source: R/model_functions.R
Check if the values of health states are provided
1 | check_values_states(health_states)
|
health_states |
list of health_state objects |
true or false
1 2 3 4 5 6 7 8 | well <- health_state("well", cost=0,utility=1)
disabled <- health_state("disabled", cost=100,utility=1)
dead <- health_state("dead", cost=0,utility=0)
tmat <- rbind(c(1, 2,3), c(NA, 4,5),c(NA,NA,6))
colnames(tmat) <- rownames(tmat) <- c("well","disabled" ,"dead")
tm <- transition_matrix(3, tmat, c(0.6,0.2,0.2,0.6,0.4,1))
health_states <- combine_state(well,disabled,dead)
check_values_states(health_states)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.