Log In Sign Up

The vote Package: Single Transferable Vote and Other Electoral Systems in R

by   Adrian E. Raftery, et al.

We describe the vote package in R, which implements the plurality (or first-past-the-post), two-round runoff, score, approval and single transferable vote (STV) electoral systems, as well as methods for selecting the Condorcet winner and loser. We emphasize the STV system, which we have found to work well in practice for multi-winner elections with small electorates, such as committee and council elections, and the selection of multiple job candidates. For single-winner elections, the STV is also called instant runoff voting (IRV), ranked choice voting (RCV), or the alternative vote (AV) system. The package also implements the STV system with equal preferences, for the first time in a software package, to our knowledge. It also implements a new variant of STV, in which a minimum number of candidates from a specified group are required to be elected. We illustrate the package with several real examples.


page 21

page 23

page 24

page 27


Decomposable sparse polynomial systems

The Macaulay2 package DecomposableSparseSystems implements methods for s...

FMM: An R Package for Modeling Rhythmic Patterns in Oscillatory Systems

This paper is dedicated to the R package FMM which implements a novel ap...

The NumericalCertification package in Macaulay2

The package implements methods for certifying numerical approximations ...

Pandering in a Flexible Representative Democracy

In representative democracies, the election of new representatives in re...