Man pages for polettif/proporz
Proportional Apportionment

biproporzBiproportional apportionment
ceil_atRounding with predefined thresholds
district_winner_matrixFind which party has the most votes in a district
divide_votes_matrixCalculate raw seat matrix
divisor_methodsDivisor methods
find_divisorFind divisor to assign seats
find_matrix_divisorsFind divisors for a matrix with alternate scaling
finland2019Finnish Parliamentary Elections Data (2019)
get_divisorsGet district and party divisors from biproporz result
highest_averages_methodHighest averages method
largest_remainder_methodLargest remainder method
lower_apportionmentLower apportionment
pivot_to_matrixPivot long data.frame to wide matrix and vice versa
proporzProportional apportionment
proporz_methodsList of method names and their implementation
pukelsheimBiproportional apportionment with data frames
quorum_functionsCreate quorum functions for biproportional apportionment
reached_quorum_any_districtCheck if lists/parties have reached a quorum in at least one...
reached_quorumsApply a list of quorum functions to a votes matrix
reached_quorum_totalCheck if lists/parties have reached the quorum for all votes
run_appUse biproportional apportionment interactively in a shiny app
upper_apportionmentUpper apportionment
uri2020Election Data for the Cantonal Council of Uri (2020)
weight_list_votesCreate weighted votes matrix
zug2018Election Data for the Cantonal Council of Zug (2018)
polettif/proporz documentation built on Feb. 20, 2025, 11:19 a.m.