R library for discrete Markov chain simulation

后端 未结 3 398
死守一世寂寞
死守一世寂寞 2020-12-05 12:11

I am looking for something like the \'msm\' package, but for discrete Markov chains. For example, if I had a transition matrix defined as such

Pi <- matrix         


        
3条回答
  •  青春惊慌失措
    2020-12-05 12:42

    You can now use the markovchain package available in CRAN. The user manual. is pretty good and has several examples.

提交回复
热议问题