DiceTransition: DiceTransition

View source: R/DiceTransition.R

DiceTransitionR Documentation

DiceTransition

Description

Whenever one has to transition, pick a single descriptor at random, and then set that descriptor to whichever state maximises score.

Usage

DiceTransition(TheList, TransRelAdj = NA)

Arguments

TheList

a list containing the CIB matrix, and a "shape" vector. The output of InputCibBanner is an appropriate input here.

TransRelAdj

a list containing a blank transition matrix, a relative score matrix, and an adjacency matrix. The output of MakeScoreMatrix is appropriate here. If left blank, this is calculated on the fly.

Value

A matrix describing the transition probability from each world state (rows) to each other world state (columns).

Note

In the event of a tie, probability is spread equally between tie-ing states. Thus, if there are three descriptors, one can end up with probability split (1/6,1/6), 1/3, 1/3.

Author(s)

Alastair Jamieson Lane. <aja107@math.ubc.ca>

Examples

data(ExampleCIBdata)
DiceTransitions(ExampleCIBdata)

alastair-JL/StochasticCIB documentation built on July 27, 2023, 1:12 a.m.