View source: R/probtrans_ebmstate.R
unique_paths | R Documentation |
unique_paths
finds all possible sequences of states until absorption
when the process has a tree-like structure.
unique_paths(from_state, tmat)
from_state |
Initial state. |
tmat |
A transition matrix describing the states and transitions in
the multi-state model, as can be obtained by running
|
This function is used by the function probtrans_by_convolution
.
It is not meant to be called by the user.
A matrix where each column is a sequence of states taken by the process until absorption. There are as many columns as the number of possible paths until absorption.
Rui Costa
probtrans_by_convolution
;
transMat
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.