mc.sim {surveybootstrap} | R Documentation |
Run a markov model
Description
Run a given markov model for n time steps, starting at a specified state.
Usage
mc.sim(mm, start, n)
Arguments
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 |
Details
This uses the markov model produced by estimate.mixing()
Value
A vector with the state visited at each time step. the first entry has the starting state
[Package surveybootstrap version 0.0.3 Index]