Given a markovchain object, this function calculates a matrix where the element (i, j) represents the expect number of visits to the state j if the chain starts at i (in a Markov chain by columns it would be the element (j, i) instead)
the markovchain-class object
a matrix with the expect number of visits to each state
R. Vélez, T. Prieto, Procesos Estocásticos, Librería UNED, 2013
1 2 3 4 5 6 7 8
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.