Learn R Programming

apportion (version 0.0.2)

app_dean: Apportion by the Dean Method

Description

Apportion by the Dean Method

Usage

app_dean(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_dean(size = 435, pop = state_2020$pop)

Run the code above in your browser using DataLab