predecessor {TUvalues} | R Documentation |
Given a permutation 0 of players and a player i, calculate the set of predecessors of the player i in the order 0
predecessor(permutation, player, include_player = FALSE)
permutation |
A permutation of the players |
player |
Number of the player i |
include_player |
Whether the player i is included as predecessor of itself or not |
The set of predecessors of the player i in the order 0