is.irreducible | R Documentation |
This function verifies whether a markovchain
object transition matrix
is composed by only one communicating class.
is.irreducible(object)
object |
A |
It is based on .communicatingClasses
internal function.
A boolean values.
Giorgio Spedicato
Feres, Matlab listings for Markov Chains.
summary
statesNames <- c("a", "b")
mcA <- new("markovchain", transitionMatrix = matrix(c(0.7,0.3,0.1,0.9),
byrow = TRUE, nrow = 2,
dimnames = list(statesNames, statesNames)
))
is.irreducible(mcA)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.