Learn R Programming

apportion (version 0.0.2)

app_webster: Apportion by the Webster Method

Description

Apportion by the Webster Method

Usage

app_webster(size, pop)

Value

integer vector

Arguments

size

number of seats to apportion across units

pop

a vector of population sizes for each unit

Examples

Run this code
app_webster(size = 435, pop = state_2020$pop)

Run the code above in your browser using DataLab