View source: R/02_decision_model_functions.R
check_sum_of_transition_array | R Documentation |
check_sum_of_transition_array
checks if each of the rows of the
transition matrices sum to one.
check_sum_of_transition_array(a_P, n_states, n_t, err_stop = FALSE,
verbose = FALSE)
a_P |
A transition probability array. |
n_states |
Number of health states. |
n_t |
Number of cycles. |
err_stop |
Logical variable to stop model run if set up as TRUE. Default = FALSE. |
verbose |
Logical variable to indicate print out of messages. Default = FALSE |
The transition probability array and the cohort trace matrix.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.