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