sample_transition_probability_matrix {oeli} | R Documentation |
Sample transition probability matrices
Description
This function returns a random, squared matrix of dimension dim
that fulfills the properties of a transition probability matrix.
Usage
sample_transition_probability_matrix(dim, state_persistent = TRUE)
Arguments
dim |
An |
state_persistent |
Set to |
Value
A transition probability matrix
.
Examples
sample_transition_probability_matrix(dim = 3)
[Package oeli version 0.5.2 Index]