stationary_distribution {oeli} | R Documentation |
This function computes the stationary distribution corresponding to a transition probability matrix.
stationary_distribution(tpm, soft_fail = FALSE)
tpm |
A transition probability |
soft_fail |
Either |
A numeric
vector.
tpm <- matrix(0.05, nrow = 3, ncol = 3)
diag(tpm) <- 0.9
stationary_distribution(tpm)