webster: Return apportioned vector according to Webster's Method

Description Usage Arguments Value References Further details Examples

Description

Return apportioned vector according to Webster's Method

Usage

1
webster(x, n = 100, k = 1)

Arguments

x

A named vector.

n

Number of apportioned units to sum to

k

The incrementing interval used to search for divisors

Value

A named vector of length x containing apportioned integers summing to n.

References

http://www.maa.org/publications/periodicals/convergence/apportioning-representatives-in-the-united-states-congress-websters-method-of-apportionment

Further details

Method suggested by Sen Daniel Webster used in 1840, 1910 and 1930 apportionments

Examples

1

jalapic/apportR documentation built on May 18, 2019, 11:17 a.m.