Learn R Programming

DTMCPack (version 0.1-3)

id: Initial distribution

Description

A starting distribution for the gambler's ruin example, which assigns equal probability of starting in each state.

Arguments

Examples

Run this code
# NOT RUN {
data(id)
data(gr)
DTMC(gr,id,10,trace=FALSE)
# }

Run the code above in your browser using DataLab