View source: R/voting_methods.R
| seq_pav | R Documentation |
Sequential Proportional Approval Voting (SeqPAV) is a multi-winner method that builds a committee by iteratively maximizing a proportionality-based satisfaction score. After each selection, the weights of voters who approved the chosen candidate are reduced, which promotes proportional representation. The PAV score is computed as the weighted sum of harmonic numbers based on how many elected candidates each voter supports. The process continues until the specified committee size is reached or all candidates are ranked.
This function uses an internal C++ implementation for efficient computation.
seq_pav(
voters,
candidates,
weights = NULL,
committee_size = NULL,
borda_score = TRUE,
check = FALSE
)
voters |
( |
candidates |
( |
weights |
( |
committee_size |
( |
borda_score |
( |
check |
( |
A data.frame with columns:
"candidate": Candidate names.
"borda_score": Borda scores for method-agnostic comparison, ranging in [0,1], where the top candidate receives a score of 1 and the lowest-ranked candidate receives a score of 0, based on the total number of candidates.
Candidates are ordered by the sequence in which they were selected.
Other voting methods:
av(),
sav(),
seq_phragmen()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.