powered by
The m-step transition probability matrix computation is provided in this function. The equation is based on the well-known "Chapman-Kolmogorov equation".
msteptpm(TPM, m)
a transition probability matrix
the m step required
Prabhanjan N. Tattar
EF2 <- Ehrenfest(2) msteptpm(as.matrix(EF2),4)
Run the code above in your browser using DataLab