Rdocumentation
powered by
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
Link to current version
Version
Version
2.0.0
1.1.2
1.1.1
1.1.0
1.0.3
1.0.0
Install
install.packages('elections.dtree')
Monthly Downloads
82
Version
2.0.0
License
GPL-3
Issues
1
Pull Requests
0
Stars
6
Forks
3
Repository
https://github.com/fleverest/elections.dtree/
Homepage
https://fleverest.github.io/elections.dtree/
Maintainer
Floyd Everest
Last Published
September 16th, 2023
Functions in elections.dtree (2.0.0)
Search all functions
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.