heemod object.
create_matrix_from_tabular(trans_probs, state_names, df_env = globalenv())parse_multi_spec.trans_probs should have columns
from, to, and prob, where
prob is the probability of a transition from the
from state to the to state. Prob can be
defined in terms of parameters, just as when using
define_matrix at the keyboard. Probabilities of 0
need not be specified - they will be automatically
inserted.All state names must be used in the from column of
the transition matrix (otherwise you can just get rid of
the state). Absorbing states should have a transition
from and to themselves with probability 1.