social_choice.ranked_ballots {elections.dtree} | R Documentation |
ranked_ballots
.social_choice.ranked_ballots
reads a set of ranked ballots and
computes an election outcome. The outcome depends on the chosen
social choice function, along with any its associated parameters.
## S3 method for class 'ranked_ballots'
social_choice(x, n_winners = 1, fn = "irv", ...)
x |
The set of ballots for which to compute the outcome of the IRV social choice function. |
n_winners |
The number of candidates to elect. |
fn |
The social choice function to use.
|
\dots |
Unused. |