stationary_distribution {oeli} | R Documentation |
Stationary distribution
Description
This function computes the stationary distribution corresponding to a transition probability matrix.
Usage
stationary_distribution(tpm, soft_fail = FALSE)
Arguments
tpm |
A transition probability |
soft_fail |
Either |
Value
A numeric
vector.
Examples
tpm <- matrix(0.05, nrow = 3, ncol = 3)
diag(tpm) <- 0.9
stationary_distribution(tpm)
[Package oeli version 0.5.2 Index]