update: Update a 'dirichlet_tree' model by observing some ranked...

updateR 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 \insertCitedtree_evoteid;textualelections.dtree 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 prefio::preferences.

\dots

Unused.

Value

The dirichlet_tree object.

References

\insertRef

dtree_eiselections.dtree.

\insertRef

dtree_evoteidelections.dtree.


elections.dtree documentation built on Sept. 16, 2023, 5:06 p.m.