Description Usage Arguments Examples
Generates a sequence of discrete states from a discrete-time Markov chain with transition matrix P
.
1 |
n |
length of the generated sequence. |
P |
transition matrix (rows are normalized to sum to 1). |
start |
vector with nonnegative values that defines the discrete starting
distribution at t=0 ( |
1 2 3 4 |
[1] 1 2 3 3 3 3 2 3 3 3 3 2 3 3 3 3 3 3 3 3 3 3 3 3 2 3 3 3 3 3 3 3 3 3 3 3 3 3
[39] 3 3 3 3 3 2 2 3 3 3 3 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.