Learn R Programming

CoopGame (version 0.2.2)

gloveGameValue: Compute value of a coalition for a glove game

Description

Coalition value for a specified glove game: For further information see gloveGame

Usage

gloveGameValue(S, L, R)

Arguments

S

numeric vector with coalition of players

L

numeric vector of players owning one left-hand glove each

R

numeric vector of players owning one right-hand glove each

Value

Number of matched pairs of gloves for given coalition S

References

Peters H. (2015) Game Theory: A Multi-Leveled Approach, 2nd Edition, Springer, pp. 155--156

Examples

Run this code
# NOT RUN {
library(CoopGame)
gloveGameValue(S=c(1,2), L=c(1,2), R=c(3)) 

# }

Run the code above in your browser using DataLab