Description Usage Arguments Value Author(s) Examples
Calculate the probability to be in a stage after n iteration, where we start in stage k.
1 | markovChain(p,k,n=1000)
|
p |
Is a probability matrix |
k |
The stage where we start |
n |
Number of iteration. |
The stationary probability of each stage
Steffan Leth Jensen
Department of mathematics and computer science (IMADA)
University of southern Denmark, SDU, Odense
steje14@student.sdu.dk
1 | markovChain(matrix(c(0.5,0.5,0.2,0.8),2,2,byrow = TRUE),2,1000)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.