powered by
Apportion by the Webster Method
app_webster(size, pop)
integer vector
number of seats to apportion across units
a vector of population sizes for each unit
app_webster(size = 435, pop = state_2020$pop)
Run the code above in your browser using DataLab