mc.sim | R Documentation |
Run a given markov model for n time steps, starting at a specified state.
mc.sim(mm, start, n)
mm |
The markov model object returned by |
start |
The name of the state to start in |
n |
The number of time-steps to run through |
This uses the markov model produced by estimate.mixing()
A vector with the state visited at each time step. the first entry has the starting state
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.