dictatorGame {CoopGame} R Documentation

## Construct a dictator game

### Description

Create a list containing all information about a specified dictator game:
Any coalitions including the dictator receive coalition value `1`. All the other coalitions, i.e. each and every coalition not containing the dictator, receives coalition value `0`.
Note that dictator games are always simple games.

### Usage

```dictatorGame(n, dictator)
```

### Arguments

 `n` represents the number of players `dictator` Number of the dictator

### Value

A list with three elements representing the dictator game (n, dictator, Game vector v)

### 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

```library(CoopGame)
dictatorGame(n=3,dictator=2)

library(CoopGame)
dictatorGame(n=4,dictator=2)
#Output:
#\$n
#[1] 4

#\$dictator
#[1] 2

#\$v
#[1] 0 1 0 0 1 0 0 1 1 0 1 1 0 1 1

```

[Package CoopGame version 0.2.2 Index]