Learn R Programming

CoopGame (version 0.2.2)

getExcessCoefficients: Compute excess coefficients

Description

getExcessCoefficients computes the excess coefficients for a specified TU game and an allocation x

Usage

getExcessCoefficients(v, x)

Arguments

v

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

x

numeric vector containing allocations for each player

Value

numeric vector containing the excess coefficients for every coalition

References

Peleg B. and Sudhoelter P. (2007) Theory of cooperative games, 2nd Edition, Springer, p. 58

Driessen T. (1998) Cooperative Games, Solutions and Applications, Springer, p. 12

Examples

Run this code
# NOT RUN {
library(CoopGame)
getExcessCoefficients(c(0,0,0,60,48,30,72), c(24,24,24))

# }

Run the code above in your browser using DataLab