Learn R Programming

i3pack (version 0.1.0)

ranked: Example of ranked vote matrix

Description

This is an example of a ranked vote matrix for 4 voters and 3 candidates. It can be used to illustrate different seat allocation formulas that require ranked votes.

Usage

ranked

Arguments

Format

A matrix with 3 rows and 4 columns, where each row represents a ranking, each column is a voter, and each cell is the candidate ID (numeric or character) #' that the voter ranked in that position.

Voter1

Candidates ranked first, second, and third by the first voter

Voter2

Candidates ranked first, second, and third by the second voter

...