Description Usage Arguments Value
View source: R/useBordaCount.R
Takes in a set of voter preferences, applies plurality rule to them and returns the choice set.
1 | useBordaCount(voterPreferencesBordaCount, breakVoterTiesBordaCount = "random")
|
voterPreferencesBordaCount |
A matrix of voter preferences that is numVoters x numAlts. |
breakVoterTiesBordaCount |
Determines how a voter with two equal top choices cast their vote. Can be "random", "first" or "last". |
A list where the first element is the group's choice set and the subsequent elelmets are the vote toatls form each round.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.