apexGameVector {CoopGame}R Documentation

Compute game vector for an apex game

Description

Game vector for an apex game:
For further information see apexGame

Usage

apexGameVector(n, apexPlayer)

Arguments

n

represents the number of players

apexPlayer

specifies the number of the apex player

Value

Game vector for the apex game

Author(s)

Jochen Staudacher jochen.staudacher@hs-kempten.de

References

Peters H. (2015) Game Theory: A Multi-Leveled Approach, 2nd Edition, Springer, pp. 164–165

Examples

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



[Package CoopGame version 0.2.2 Index]