TransToFastestActing: TransToFastestActing

View source: R/TransToFastestActing.R

TransToFastestActingR Documentation

TransToFastestActing

Description

This transition function assumes that descriptors are written in order of "speed of update" (slowest to fastest). This function looks to see if there is any way to improve score by changing the fastest updating descriptor. If not, then it checks the 2nd fastest, 3rd fastest, and so on. For example, if your models descriptors are "Tree abundance","Wolf abundance" and "Rabbit abundance", the model will first try to update rabbit abundance. If the current rabbit abundance is stable, then the transition rule will update wolf abundance. If both are stable, then the transition rule will try to update Tree Abundance.

Usage

TransToFastestActing(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, can be 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 case of a tie, transition probability is split evenly between the top candidates.

Other transition functions can be found via TransitionCalculators

Author(s)

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

Examples

data(ExampleCIBdata)
TransToFastestActing(ExampleCIBdata)


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