Implements voting power indexes and algorithms.
1 2 3 4 | # The famous Nassau County Board's voting system
# [https://en.wikipedia.org/wiki/Banzhaf_power_index]
board <- create_weighted_voting_game(16, c(9, 9, 7, 3, 1, 1))
compute_bz_power(board)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.