Description Usage Arguments Examples
Function for calculating the Banzhaf index. Done by taking all coalitions and adding +1 for decisive coalitions, -1 otherwise
1 | gt_banzhaf(w, q = 0.5)
|
w |
Vector of voting weights |
q |
Threshold for voting success |
1 | gt_banzhaf(w = 1:5, q=.5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.