apexGameVector: Compute game vector for an apex game

Description Usage Arguments Value Author(s) References Examples

View source: R/ApexGame.R

Description

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

Usage

1
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

1
2
3
4
5
6
7
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

CoopGame documentation built on Aug. 24, 2021, 1:07 a.m.