Learn R Programming

CoopGame (version 0.2.2)

dictatorGameValue: Compute value of a coalition for a dictator game

Description

Coalition value for a dictator game: For further information see dictatorGame

Usage

dictatorGameValue(S, dictator)

Arguments

S

numeric vector with coalition of players

dictator

Number of the dictator

Value

1 if dictator is involved in coalition, 0 otherwise.

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

Run this code
# NOT RUN {
library(CoopGame)
dictatorGameValue(S=c(1,2,3),dictator=2)

# }

Run the code above in your browser using DataLab