Description Usage Arguments Value Author(s) References Examples
View source: R/BanzhafConcept.R
drawNormalizedBanzhafIndex draws the Banzhaf Value for 3 or 4 players.
Drawing any kind of Banzhaf values only makes sense from our point of view
for the normalized Banzhaf index for simple games, because
only in this case will the Banzhaf index be efficient.
1 2 3 4 5 6 7 | drawNormalizedBanzhafIndex(
v,
holdOn = FALSE,
colour = NA,
label = TRUE,
name = "Normalized Banzhaf index"
)
|
v |
Numeric vector of length 2^n - 1 representing the values of the coalitions of a TU game with n players |
holdOn |
draws in a existing plot |
colour |
draws the geometric object (i.e. point or convex polyhedron) with this colour, all colour names can be seen with "colors()" |
label |
activates the labels for the figure |
name |
set a name for the label |
None.
Johannes Anwander anwander.johannes@gmail.com
Jochen Staudacher jochen.staudacher@hs-kempten.de
Peters H. (2015) Game Theory: A Multi-Leveled Approach, 2nd Edition, Springer, pp. 367–370
Chakravarty S.R., Mitra M. and Sarkar P. (2015) A Course on Cooperative Game Theory, Cambridge University Press, pp. 118–119
Bertini C. and Stach I. (2011) "Banzhaf voting power measure", Encyclopedia of Power, SAGE Publications, pp. 54–55
1 2 3 | library(CoopGame)
v<-weightedVotingGameVector(n=3,w=c(50,30,20),q=c(67))
drawNormalizedBanzhafIndex(v)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.