| apply_quorum | Apply quorum to votes vector or matrix |
| biproporz | Biproportional apportionment |
| ceil_at | Rounding with predefined thresholds |
| district_winner_matrix | Find which party has the most votes in a district |
| divide_votes_matrix | Calculate raw seat matrix |
| divisor_methods | Divisor methods |
| find_divisor | Find divisor to assign seats |
| find_matrix_divisors | Find divisors for a matrix with alternate scaling |
| finland2019 | Finnish Parliamentary Elections Data (2019) |
| get_divisors | Get district and party divisors from biproporz result |
| highest_averages_method | Highest averages method |
| largest_remainder_method | Largest remainder method |
| lower_apportionment | Lower apportionment |
| pivot_to_matrix | Pivot long data.frame to wide matrix and vice versa |
| proporz | Proportional apportionment |
| proporz_methods | List of method names and their implementation |
| pukelsheim | Biproportional apportionment with data frames |
| quorum_functions | Create quorum functions for biproportional apportionment |
| reached_quorum_any_district | Check if parties reached a quorum in at least one district |
| reached_quorums | Apply a list of quorum functions to a votes matrix |
| reached_quorum_total | Check if parties reached the quorum for all votes |
| run_app | Use biproportional apportionment interactively in a shiny app |
| upper_apportionment | Upper apportionment |
| uri2020 | Election Data for the Cantonal Council of Uri (2020) |
| weight_votes_matrix | Create weighted votes matrix |
| zug2018 | Election Data for the Cantonal Council of Zug (2018) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.