mm: Markov model specification
Description
Creates a model specification of a Markov model.
Usage
mm(states, init, ptrans, k = 1)
Arguments
states
Vector of state space of length s.
init
Vector of initial distribution of length s ^ k.
ptrans
Matrix of transition probabilities of dimension \((s, s)\).
k
Order of the Markov chain.
Value
An object of class mm.