Description Usage Arguments Value
These functions are used by plot.condorcet.result()
.
1 2 3 | get_kemeny_point(v.vec)
a.beats.b.at(v.vec, point)
|
v.vec |
A vector of ballot counts or shares of length 9. If candidates are A, B, and C, then the components indicate the count/share of ballots ranking the candidates (AB, AC, BA, BC, CA, CB, AX, BX, CX). |
point |
A length-three vector of shares. |
get_kemeny_point()
returns the vector of first-preference location (in standard 3D coordinates) such that, given the pattern of lower rankings, there would be a three-way tie according to the Kemeny-Young method. That is, there is a Condorcet cycle such that each candidate loses to one other candidate by the same margin. Extracting this point allows us to draw the result using Kemeny-Young method.
a.beats.b.at()
returns a logical.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.