Show the district and party divisors used to assign seats. This method provides easier access to divisors stored in attributes(...)$divisors

get_divisors(biproporz_result)

Arguments

biproporz_result

a matrix created by biproporz() or a data.frame created by pukelsheim()

Value

The district and party divisors in a list, each as a vector

Examples

seats_matrix = biproporz(uri2020$votes_matrix, uri2020$seats_vector)
get_divisors(seats_matrix)
#> $districts
#>    Altdorf    Bürglen   Erstfeld Schattdorf 
#>       2690       1194       1089       1539 
#> 
#> $parties
#>   CVP  SPGB   FDP   SVP 
#> 0.946 1.000 1.000 0.970 
#>