.print method for summary object | .print.summary.SafeVote |
summarises vote-totals for subsequent printing | .summary.SafeVote |
Tideman a3_hil | a3_hil |
Tideman a4_hil | a4_hil |
Tideman a53_hil | a53_hil |
Count votes using the approval method | approval |
as.SafeRankExpt() | as.SafeRankExpt |
undocumented internal method | assemble.args.for.check.score |
undocumented internal method | assemble.args.for.check.stv |
Undocumented internal method | backwards.tiebreak |
parameter-checking method for nseats (internal) | check.nseats |
check the validity of a partial ranking | check.ranking |
undocumented internal method | check.votes |
undocumented internal method | check.votes.approval |
undocumented internal method | check.votes.condorcet |
undocumented internal method | check.votes.plurality |
undocumented internal method | check.votes.score |
undocumented internal method | check.votes.stv |
undocumented internal method | check.votes.tworound.runoff |
the least upper bound on a pair of rankings | combineRankings |
internal method to analyse the partial results of an stv() ballot count, to discover a complete ranking of all candidates. The ranking may depend on the value of nseats, because this affects how votes are transferred. | completeRankingTable |
Count votes using the Condorcet voting method. | condorcet |
Amend ballots with equal or incomplete preferences | correct.ranking |
Dublin West | dublin_west |
prints the basic results of an election | election.info |
extract margins from the results of a ballot count | extractMargins |
Extract a ranking vector by name from the results of a ballot count | extractRank |
Food Election | food_election |
Undocumented internal method | forwards.tiebreak |
The image function visualizes the joint distribution of two preferences (if 'all.pref=FALSE') given 'xpref' and 'ypref', as well as the marginal distribution of all preferences (if 'all.pref=TRUE'). The joint distribution can be shown as proportions (if 'proportion=TRUE') or raw vote counts (if 'proportion=FALSE'). | image.SafeVote.condorcet |
visualisation of joint and marginal distributions in STV preferences | image.SafeVote.stv |
IMS Approval | ims_approval |
IMS Election | ims_election |
IMS Plurality | ims_plurality |
IMS Score | ims_score |
IMS STV | ims_stv |
Extracts the invalid.votes member (if any) from the result of a count | invalid.votes |
is.SafeRankExpt() | is.SafeRankExpt |
undocumented internal method | is.valid.vote |
Find a loser and their margin of victory | loserMargin |
Constructor for the results of a SafeRank experiment | new_SafeRankExpt |
Undocumented internal method | ordered.preferences |
Undocumented internal method | ordered.tiebreak |
plot() method for the result of an experiment with varying numbers of ballots | plot.SafeRankExpt |
plot() method for the result of an stv() ballot-count | plot.SafeVote.stv |
Count votes using the plurality method | plurality |
Coerce input 'data' into a matrix | prepare.votes |
Print method for summary.SafeRankExpt | print.summary.SafeRankExpt |
print method for summary object | print.summary.SafeVote.approval |
print method for summary.SafeVote.condorcet | print.summary.SafeVote.condorcet |
print method for summary of plurality object | print.summary.SafeVote.plurality |
print method for summary.score object | print.summary.SafeVote.score |
print() method for a summary() of a SafeVote result | print.summary.SafeVote.stv |
add a row to a SafeRankExpt object | rbind_SafeRankExpt |
read a set of ballots in .HIL format | readHil |
Remove a candidate, amending ballot papers as required | remove.candidate |
Count votes using the score (or range) method. | score |
Undocumented internal method, renamed from 'solve.tiebreak' to avoid confusion with generic solve() | solveTiebreak |
Count preferential ballots using an STV method | stv |
summary method for SafeRankExpt | summary.SafeRankExpt |
summary method for approval results | summary.SafeVote.approval |
Summary method for condorcet() results | summary.SafeVote.condorcet |
summary method for plurality object | summary.SafeVote.plurality |
summary method for score object | summary.SafeVote.score |
summary() method for a SafeVote result | summary.SafeVote.stv |
internal method, computes column-sums | sumOfVotes |
Test the sensitivity of a result to tactical voting. | testAdditions |
Assess the safety of a preliminary result for an election | testDeletions |
Bootstrapping experiment, with fractional counts of a ballot box. | testFraction |
Undocumented internal method from original code | translate.ties |
UK Labour Party Leader 2010 | uk_labour_2010 |
generic view() for classes defined in this package | view |
view method for approval object | view.SafeVote.approval |
view method for SafeVote.condorcet | view.SafeVote.condorcet |
view method for plurality object | view.SafeVote.plurality |
view method for score object | view.SafeVote.score |
view method for the result of an stv() ballot-count | view.SafeVote.stv |
Find a winner and their margin of victory | winnerMargin |
Yale Faculty Senate 2016 | yale_ballots |