Description Usage Arguments Value
View source: R/perrito-electoral.R
Split seats between jurisdictions
1 | split_seats(voters, nseats, fixed = 0, method = "hare")
|
voters |
A vector with the number of voters per jurisdiction. |
nseats |
The total number of seats to split. |
fixed |
The fixed number of seats for each jurisdiction. By default, zero. |
method |
The method used to split seats, by default, "Hare". |
A vector with the number of seats for each jurisdiction.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.