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