View source: R/TransToMaxAdj.R
TransToMaxAdj | R Documentation |
A transition matrix function, whereby given the current worldstate, we switch to the world state with the highest score, changing at most one descriptor in the process.
TransToMaxAdj(TheList, TransRelAdj = NA)
TheList |
a list containing the CIB matrix, and a "shape" vector. The output of |
TransRelAdj |
a list containing a blank transition matrix, a relative score matrix, and an adjacency matrix. The output of |
A matrix describing the transition probability from each world state (rows) to each other world state (columns).
In the case of a tie, transition probability is split evenly between the top candidates.
Other transition functions can be found via TransitionCalculators
Alastair Jamieson Lane. <aja107@math.ubc.ca>
data(ExampleCIBdata)
Transitions<-TransToMaxAdj(ExampleCIBdata)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.