check_ties | R Documentation |
Compares the voting scores of the last seat in and first seat out, for use
with seat calculation functions. The check assumes that the calling function
correctly assigns tied seats to the first listed party, and depending on the
value of the ties
parameter, it can either error (clean or dirty ties if
ties=="error"
), or warn (dirty ties if ties=="first"
).
check_ties(score_last_in, score_first_out, ties)
score_last_in |
The score of the last seat allocated |
score_first_out |
The score of the first seat not allocated |
ties |
Should ties cause an " |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.