stationary_distribution {localScore} | R Documentation |
Stationary distribution [Markov chains]
Description
Calculates stationary distribution of markov transition matrix by use of eigenvectors of length 1
Usage
stationary_distribution(m)
Arguments
m |
Transition Matrix [matrix object] |
Value
A vector with the probabilities
Examples
B = t(matrix (c(0.2, 0.8, 0.4, 0.6), nrow = 2))
stationary_distribution(B)
[Package localScore version 1.0.11 Index]