Learn R Programming

CoopGame (version 0.2.2)

getGapFunctionCoefficients: Compute gap function coefficients

Description

getGapFunctionCoefficients computes the gap function coefficients for a specified TU game

Usage

getGapFunctionCoefficients(v)

Arguments

v

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

Value

numeric vector containing the gap function coefficients for every coalition

References

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

Examples

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

# }

Run the code above in your browser using DataLab