Description Usage Arguments Value
simulate n paths of length ntime from markov transition matrix
1 | sim.markov.paths(n, ntime, trans, init = NULL)
|
n |
number of individuals |
ntime |
number of periods |
trans |
transition matrix |
init |
initial distribution over states at time 1. if null, start at stationary distribution. |
the stationary distribution of G
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.