apexGameVector {CoopGame} | R Documentation |
Game vector for an apex game:
For further information see apexGame
apexGameVector(n, apexPlayer)
n |
represents the number of players |
apexPlayer |
specifies the number of the apex player |
Game vector for the apex game
Jochen Staudacher jochen.staudacher@hs-kempten.de
Peters H. (2015) Game Theory: A Multi-Leveled Approach, 2nd Edition, Springer, pp. 164–165
library(CoopGame)
apexGameVector(n=3,apexPlayer=2)
library(CoopGame)
(v <- apexGameVector(n=4,apexPlayer=3))
#[1] 0 0 0 0 0 1 0 1 0 1 1 1 1 1 1