Simulates Markov chain of length T

Description

Simulates Markov chain of length T, given a transition matrix and a prior distribution.

Usage

1
simule_MC(transmat, prior, T)

Arguments

transmat

transition matrix

prior

prior distribution

T

simulation length

Value

X

Markov chain sequence

Author(s)

Valerie Monbet, valerie.monbet@univ-rennes1.fr

See Also

simule_MC.nh, simule.nh.MSAR

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.