View source: R/02_decision_model_functions.R
check_transition_probability | R Documentation |
check_transition_probability
checks if transition probabilities are in [0, 1].
check_transition_probability(a_P, err_stop = FALSE, verbose = FALSE)
a_P |
A transition probability array. |
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 |
This function stops if transition probability array is not valid and shows what are the entries that are not valid
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.