Learn R Programming

ACSWR (version 1.0)

msteptpm: m-step Transition Probability Matrix Computation

Description

The m-step transition probability matrix computation is provided in this function. The equation is based on the well-known "Chapman-Kolmogorov equation".

Usage

msteptpm(TPM, m)

Arguments

TPM
a transition probability matrix
m
the m step required

Examples

Run this code
EF2 <- Ehrenfest(2)
msteptpm(as.matrix(EF2),4)

Run the code above in your browser using DataLab