Description Usage Arguments Value Author(s) Examples
View source: R/hsmm_functions.R
Simulates a Markov chain
1 | 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 jaredoconnell@gmail.com
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.