The goals of SafeVote are to investigate the safety of announcing preliminary results from an election, and to allow experimental study of the safety of a complete ranking of all candidates (as in a party list) that is derived from a small-scale election with preferential ballots.
Installation
You can install the development version of SafeVote from GitHub with:
# install.packages("devtools") devtools::install_github("cthombor/SafeVote")
Example
This mod of vote.2.3-2 reports the margins of victory in an election.
The value of the safety parameter will affect the completeness of the
safeRank ordering of the candidates. Setting safety = 0 will cause
safeRank to be a total ranking of the candidates, except in the rare
case that there is an exact tie. The “fuzz”