social_choice {elections.dtree} | R Documentation |
social_choice
reads a set of ballots, and computes the
outcome of the election. The outcome is described by a vector of winning
candidates, along with the elimination order of the losing candidates.
social_choice(x, ...)
x |
The set of ballots for which to compute the outcome of the social choice function. |
\dots |
Additional parameters to pass to |
social_choice(ranked_ballots(list(LETTERS[1], LETTERS[1], LETTERS[2])))