dictatorGameVector: Compute game vector for a dictator game

Description Usage Arguments Value Author(s) References Examples

View source: R/DictatorGame.R

Description

Game vector for a dictator game:
For further information see dictatorGame

Usage

1
dictatorGameVector(n, dictator)

Arguments

n

represents the number of players

dictator

Number of the dictator

Value

Game vector where each element contains 1 if dictator is involved, 0 otherwise.

Author(s)

Johannes Anwander anwander.johannes@gmail.com

Jochen Staudacher jochen.staudacher@hs-kempten.de

References

Peters H. (2015) Game Theory: A Multi-Leveled Approach, 2nd Edition, Springer, p. 295

Maschler M., Solan E. and Zamir S. (2013) Game Theory, Cambridge University Press, p. 764

Examples

1
2
library(CoopGame)
dictatorGameVector(n=3,dictator=2)

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