View source: R/SimMarkovChain.R
This function generates a Markov chain X(1), ..., X(n) with transition matrix Q, starting from a state eta0 or the uniform distribution on 1,..., r
1 | SimMarkovChain(Q, n, eta0)
|
Q |
Transition probality matrix (d x d) |
n |
number of simulated vectors |
eta0 |
variable eta |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.