Learn R Programming

CoopGame (version 0.2.2)

gloveGameVector: Compute game vector for glove game

Description

Game vector for glove game: For further information see gloveGame

Usage

gloveGameVector(n, L, R)

Arguments

n

represents the number 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

Game vector of the specified glove game

References

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

Examples

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

# }

Run the code above in your browser using DataLab