check_matrix: Check Markov Model Transition Matrix

Description Usage Arguments Details Value

View source: R/matrix_eval.R

Description

Check whether a matrix fullfills the conditions to be a transition matrix.

Usage

1

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


heemod documentation built on July 8, 2020, 6:55 p.m.