Calculates stationary distribution of markov transitition matrix by use of eigenvectors of length 1
stationary_distribution(m)
Transition Matrix [matrix object]
A vector with the probabilities
# NOT RUN { B = t(matrix (c(0.2, 0.8, 0.4, 0.6), nrow = 2)) stationary_distribution(B) # }
Run the code above in your browser using DataLab