Learn R Programming

CoopGame (version 0.2.2)

majoritySingleVetoGame: Construct a weighted majority game with a single veto player

Description

Create a list containing all information about a specified weighted majority game with a single veto player: If coalition S has at least 2 members and if the veto player is part of the coalition it generates a value of 1, otherwise 0. Note that weighted majority games with a single veto player are always simple games.

Usage

majoritySingleVetoGame(n, vetoPlayer)

Arguments

n

represents the number of players

vetoPlayer

represents the veto player

Value

A list with three elements representing the specified weighted majority game with a single veto player (n, vetoPlayer, Game vector v)

References

Jackson M.O. (2008) Social and Economic Networks, Princeton University Press, p. 415

Examples

Run this code
# NOT RUN {
library(CoopGame) 
majoritySingleVetoGame(n=3, vetoPlayer=1)

# }

Run the code above in your browser using DataLab