Skip to contents

Apportion by the Balinski Young Method

Usage

app_balinski_young(size, pop)

Arguments

size

number of seats to apportion across units

pop

a vector of population sizes for each unit

Value

integer vector

Examples

app_balinski_young(size = 435, pop = state_2020$pop)
#>  [1]  6  1  9  4 54  8  5  1 29 14  2  2 17  9  4  4  6  6  1  8  9 14  7  4  8
#> [26]  1  2  4  1 12  2 28 14  1 16  5  5 18  1  7  1  9 40  4  0 12 10  2  8  0