Compute the communities probabilities associated at equilibrium for a given transition matrix.
solveMarkov(markov, sparse = TRUE, continuous = FALSE)
markov | a transition matrix of a Markov chain. |
---|---|
sparse | a logical. Should a sparse matrix be used? Default value is |
continuous | a logical. Is |
A vector of probabilities
If sparse
is TRUE
, then only the larger eigen values is
returned (function eigs_gen()
in the armadillo C++ library requires
the number of eigen values to be computed and is currently set to 1 in
getEigenElementsSp()
).