View source: R/check_transition_probabilities.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_rows = NULL,
n_states = NULL,
n_cycles,
err_stop = TRUE,
verbose = TRUE
)
a_P |
A transition probability array/ matrix. |
n_rows |
Number of rows (individuals), appropriate for microsimulation models. |
n_states |
Number of health states in a Markov trace, appropriate for Markov models. |
n_cycles |
Number of cycles. |
err_stop |
Logical variable to stop model run if set up as TRUE. Default = TRUE. |
verbose |
Logical variable to indicate print out of messages. Default = TRUE |
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.