sim.mc {mhsmm} | R Documentation |
Simulates a Markov chain
sim.mc(init, transition, N)
init |
The distribution of states at the first time step |
transition |
The transition probability matrix of the Markov chain |
N |
The number of observations to simulate |
A vector of integers representing the state sequence.
Jared O'Connell