update {elections.dtree}R Documentation

Update a dirichlet_tree model by observing some ranked ballots.

Description

update updates a Dirichlet-tree model with observations to obtain a posterior distribution on the ranked ballots. See Everest et al. (2022) for implementation details.

Usage

## S3 method for class 'dirichlet_tree'
update(object, ballots, ...)

Arguments

object

A dirichlet_tree object.

ballots

A set of ballots - must be of type ranked_ballots.

\dots

Unused.

Value

The dirichlet_tree object.

References

Everest F, Blom M, Stark PB, Stuckey PJ, Teague V, Vukcevic D (2022). “Ballot-Polling Audits of Instant-Runoff Voting Elections with a Dirichlet-Tree Model.” doi:10.48550/ARXIV.2209.03881..

Everest F, Blom M, Stark PB, Stuckey PJ, Teague V, Vukcevic D (2022). “Auditing Ranked Voting Elections with Dirichlet-Tree Models: First Steps.” doi:10.48550/ARXIV.2206.14605..


[Package elections.dtree version 1.1.2 Index]