Description Usage Arguments Value References Further details Examples
Return apportioned vector according to Alexander Hamilton's Method - allowing for zeros
1 | hamilton0(x, n = 100)
|
x |
A named vector. |
n |
Number of apportioned units to sum to |
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-hamiltons-method-of-apportionment
Method suggested in 1792 by Alexander Hamilton
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.