Learn R Programming

elections.dtree (version 2.0.0)

Ranked Voting Election Audits with Dirichlet-Trees

Description

Perform ballot-polling Bayesian audits for ranked voting elections using Dirichlet-tree prior distributions. Everest et al. (2022) , .

Copy Link

Version

Install

install.packages('elections.dtree')

Monthly Downloads

82

Version

2.0.0

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Floyd Everest

Last Published

September 16th, 2023

Functions in elections.dtree (2.0.0)

sample_predictive

Draw ballots from the posterior predictive distribution.
social_choice

Election Social Choice Functions
`[.ranked_ballots`

Access Subsets of Ballots.
update

Update a dirichlet_tree model by observing some ranked ballots.
reset

Clear the internal state of a dirichlet_tree object.
dirichlet_tree

Create a Dirichlet-tree for modelling ranked ballots
ranked_ballots

Construct a set of ranked ballots.
dirtree

Create a Dirichlet-tree object
read_ballots

Read ranked_ballots from a file.
sample_posterior

Draw election outcomes from the posterior distribution.
write_ballots

Write ranked_ballots to a file.