Description Usage Arguments Value References Further details Examples
Return apportioned vector according to Huntington-Hill Method - allows for zeros
1 | hhill0(x, n = 100, k = 1)
|
x |
A named vector. |
n |
Number of apportioned units to sum to |
k |
The incrementing interval used to search for divisors |
A named vector of length x
containing apportioned integers summing to n
.
http://www.maa.org/publications/periodicals/convergence/apportioning-representatives-in-the-united-states-congress-hills-method-of-apportionment
Method developed around 1911 by Joseph Hill and modified by Edward Huntington
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.