Learn R Programming

CoopGame (version 0.2.2)

getMarginalContributions: Compute marginal contributions

Description

Calculates the marginal contributions for all permutations of the players

Usage

getMarginalContributions(v)

Arguments

v

Numeric vector of length 2^n - 1 representing the values of the coalitions of a TU game with n players

Value

a list with given game vector, a matrix of combinations used and a matrix with the marginal contributions

References

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

Branzei R., Dimitrov D. and Tijs S. (2006) Models in cooperative game theory, Springer, p. 6

Examples

Run this code
# NOT RUN {
library(CoopGame)
v=c(0,0,0,1,1,0,1)
getMarginalContributions(v)

# }

Run the code above in your browser using DataLab