Package: elections.dtree 2.0.0
elections.dtree: Ranked Voting Election Audits with Dirichlet-Trees
Perform ballot-polling Bayesian audits for ranked voting elections using Dirichlet-tree prior distributions. Everest et al. (2022) <arxiv:2206.14605>, <arxiv:2209.03881>.
Authors:
elections.dtree_2.0.0.tar.gz
elections.dtree_2.0.0.zip(r-4.5)elections.dtree_2.0.0.zip(r-4.4)elections.dtree_2.0.0.zip(r-4.3)
elections.dtree_2.0.0.tgz(r-4.5-x86_64)elections.dtree_2.0.0.tgz(r-4.5-arm64)elections.dtree_2.0.0.tgz(r-4.4-x86_64)elections.dtree_2.0.0.tgz(r-4.4-arm64)elections.dtree_2.0.0.tgz(r-4.3-x86_64)elections.dtree_2.0.0.tgz(r-4.3-arm64)
elections.dtree_2.0.0.tar.gz(r-4.5-noble)elections.dtree_2.0.0.tar.gz(r-4.4-noble)
elections.dtree_2.0.0.tgz(r-4.4-emscripten)elections.dtree_2.0.0.tgz(r-4.3-emscripten)
elections.dtree.pdf |elections.dtree.html✨
elections.dtree/json (API)
NEWS
# Install 'elections.dtree' in R: |
install.packages('elections.dtree', repos = c('https://cranhaven.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/fleverest/elections.dtree/issues
Pkgdown site:https://fleverest.github.io
Last updated 11 days agofrom:4808019bfb (on package/elections.dtree). Checks:7 OK, 4 NOTE. Indexed: no.
Target | Result | Latest binary |
---|---|---|
Doc / Vignettes | OK | Feb 09 2025 |
R-4.5-win-x86_64 | NOTE | Feb 09 2025 |
R-4.5-mac-x86_64 | NOTE | Feb 09 2025 |
R-4.5-mac-aarch64 | NOTE | Feb 09 2025 |
R-4.5-linux-x86_64 | NOTE | Feb 09 2025 |
R-4.4-win-x86_64 | OK | Feb 09 2025 |
R-4.4-mac-x86_64 | OK | Feb 09 2025 |
R-4.4-mac-aarch64 | OK | Feb 09 2025 |
R-4.3-win-x86_64 | OK | Feb 09 2025 |
R-4.3-mac-x86_64 | OK | Feb 09 2025 |
R-4.3-mac-aarch64 | OK | Feb 09 2025 |
Exports:dirichlet_treedirtreeranked_ballotsread_ballotsresetsample_posteriorsample_predictivesocial_choicewrite_ballots
Dependencies:briocallrclicpp11crayondescdiffobjdigestdplyrevaluatefansifsgenericsgluejsonlitelifecyclemagrittrpillarpkgbuildpkgconfigpkgloadpraiseprefioprocessxpspurrrR6rbibutilsRcppRcppThreadRdpackrlangrprojrootstringistringrtestthattibbletidyrtidyselectutf8vctrswaldowithr
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Access Subsets of Ballots. | [.ranked_ballots `[.ranked_ballots` |
Create a Dirichlet-tree for modelling ranked ballots | dirichlet_tree |
Create a Dirichlet-tree object | dirtree dtree |
Construct a set of ranked ballots. | ranked_ballots |
Read 'ranked_ballots' from a file. | read_ballots |
Clear the internal state of a 'dirichlet_tree' object. | reset |
Draw election outcomes from the posterior distribution. | sample_posterior |
Draw ballots from the posterior predictive distribution. | sample_predictive |
Election Social Choice Functions | social_choice |
Update a 'dirichlet_tree' model by observing some ranked ballots. | update update.dirichlet_tree |
Write 'ranked_ballots' to a file. | write_ballots |