PositionLevel function

PositionLevel

PositionLevel

This function obtains the position structure associated with a particular variable of a CEG.

PositionLevel(stage.list, num.category, num.situation.next, pos.next.level = list())

Arguments

  • stage.list: (list) - stage structure associated with a particular variable.
  • num.category: (vector) - number of edges that unfolds from each position asscoiated with our target variable
  • num.situation.next: (numeric) - number of situations associated with the variable that follows our target variable in the event tree.
  • pos.next.level: (list) - position structure associated with the variable that follows our target variable in the event tree (see function PositionLevel)

Returns

list of lists - The first list level identifies a stage 'i' and the second list level identifies the positions associated with this stage 'i'.

See Also

PositionVector, PositionStage and PairwisePosition

  • Maintainer: Pier Taranti
  • License: GPL-2 | file LICENSE
  • Last published: 2017-11-27