check_matrix {heemod} | R Documentation |
Check Markov Model Transition Matrix
Description
Check whether a matrix fulfills the conditions to be a transition matrix.
Usage
check_matrix(x)
Arguments
x |
a matrix. |
Details
This function is called by eval_transition()
and should not be used directly.
Checks whether all rows sum to 1 and all probabilities are between 0 and 1.
Value
NULL
[Package heemod version 1.0.1 Index]