R/huntington_hill.R
app_huntington_hill.Rd
Apportion by the Huntington-Hill Method
app_huntington_hill(size, pop)
number of seats to apportion across units
a vector of population sizes for each unit
integer vector
app_huntington_hill(size = 435, pop = state_2020$pop) #> [1] 7 1 9 4 52 8 5 1 28 14 2 2 17 9 4 4 6 6 2 8 9 13 8 4 8 #> [26] 2 3 4 2 12 3 26 14 1 15 5 6 17 2 7 1 9 38 4 1 11 10 2 8 1