Learn R Programming

CoopGame (version 0.2.2)

majoritySingleVetoGameValue: Compute value of a coalition for a weighted majority game with a single veto player

Description

Coalition value for a weighted majority game with a single veto player: For further information see majoritySingleVetoGame

Usage

majoritySingleVetoGameValue(S, vetoPlayer)

Arguments

S

numeric vector with coalition of players

vetoPlayer

represents the veto player

Value

1 if vetoPlayer is included in S and S is not a singleton coalition, 0 otherwise

References

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

Examples

Run this code
# NOT RUN {
library(CoopGame)
majoritySingleVetoGameValue(S=c(1,2), vetoPlayer=1)

# }

Run the code above in your browser using DataLab