powered by
Given the value of each player, this function returns the characteristic function of the associated additive game.
additivegame(a, binary = FALSE)
The characteristic function of the associated additive game, as a vector in binary order if binary=TRUE and in lexicographic order otherwise.
binary=TRUE
A vector containing the player values.
A logical value. By default, binary=FALSE.
binary=FALSE
The characteristic function of the additive game given by \(a\in \mathbb{R}^n\) is defined for each \(S\in 2^N\) by \(v(S)=\sum_{i\in S}a_i\).
additivecheck, strategicallyequivalentcheck, superadditivecheck
a <- c(1,5,10,13,58) additivegame(a, binary = FALSE)
Run the code above in your browser using DataLab