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