hare function

Counting Hare votes (Ranked choice voting)

Counting Hare votes (Ranked choice voting)

Ranked Choice Voting may be counted using the Hare system. All voter choices are considered, the votes for the candidate with the lowest first choice votes are distributed to the remaining candidates. This procedure is repeated until the number to be selected is determined.

hare(x, n = 1)

Arguments

  • x: A data frame or matrix of rank orders for candidates (columns) by voters (rows).
  • n: How many winners to report

Details

A short function to convert rank orders into preferences. Ranked Choice Voting is used by many small societies to choose officers.

A more elegant approach may be found in the vote package.

For more information, see the help pages for vote or "for a description of the single transferable vote system see https://imstat.org/elections/single-transferable-voting-system/. " from the vote help page.

Returns

A vector of the winning candidates and their votes.

Author(s)

William Revelle

Examples

##-Load the votes package and compare the results to hare. #not run