rcv (version 0.2.0)

elected: Summarizes which candidates were elected from the results tally

Description

Summarizes which candidates were elected from the results tally

Usage

elected(results, n = 1)

Arguments

results

the results tabulated from the election in question

n

the number of candidates being elected (defaults to 1)

Value

a vector of the candidates successfully elected

Examples

Run this code
# NOT RUN {
elected(sf_7_results, n = 1)
# }

Run the code above in your browser using DataCamp Workspace