Description Usage Arguments Value Author(s) References Examples
View source: R/BanzhafConcept.R
raw Banzhaf Value, i.e. the Banzhaf Value without the division by the scaling factor 2^{(n-1)}
1 |
v |
Numeric vector of length 2^n - 1 representing the values of the coalitions of a TU game with n players |
The return value is a numeric vector which contains the raw Banzhaf value for each player.
Jochen Staudacher jochen.staudacher@hs-kempten.de
Chakravarty S.R., Mitra M. and Sarkar P. (2015) A Course on Cooperative Game Theory, Cambridge University Press, pp. 118–119
1 2 3 4 5 6 7 8 9 | library(CoopGame)
v = c(0,0,0,1,1,2,5)
rawBanzhafValue(v)
library(CoopGame)
v = c(0,0,0,2,2,3,5)
rawBanzhafValue(v)
#[1] 6 8 8
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.