powered by
raw Banzhaf Value, i.e. the Banzhaf Value without the division by the scaling factor \(2^{(n-1)}\)
rawBanzhafValue(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.
Chakravarty S.R., Mitra M. and Sarkar P. (2015) A Course on Cooperative Game Theory, Cambridge University Press, pp. 118--119
# NOT RUN { library(CoopGame) v = c(0,0,0,1,1,2,5) rawBanzhafValue(v) # } # NOT RUN { library(CoopGame) v = c(0,0,0,2,2,3,5) rawBanzhafValue(v) #[1] 6 8 8 # } # NOT RUN { # }
Run the code above in your browser using DataLab