Learn R Programming

redist (version 4.2.0)

tally_var: Tally a variable by district

Description

Tally a variable by district

Usage

tally_var(map, x, .data = pl())

Value

a vector containing the tallied values by district and plan (column-major)

Arguments

map

a redist_map object

x

a variable to tally. Tidy-evaluated.

.data

a redist_plans object or matrix of plans