Description Usage Arguments Examples
Plot Banzhaf index against normalized raw weights
1 2 | gt_plot_banzhaf(weights = c(1, 1), w = weights, q_rule = 0.5,
q = q_rule, col1 = "red", col2 = "white")
|
weights |
Vector of voting weights |
q_rule |
Threshold for voting success |
col1 |
Canvas color |
Line |
color |
1 2 | gt_plot_banzhaf(w = 1:5, q=.5)
gt_plot_banzhaf(w=c(1, 1, 3,7,9,9)/30, q = .5, col1 = "black")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.