audit.plan {elec} | R Documentation |
Audit Plans for CAST and Trinomial Methods
Description
An audit.plan
is returned by CAST.calc.sample, containing details of
how to audit for a desired level of confidence. It has a print method for
pretty output.
The audit.plan.tri
, similarly, is an object that holds information
about conduting a PPEB election audit, in particular an audit that will use
the trinomial bound to analyze resultant audit data. It is what is returned
by the tri.calc.sample method.
Theoretically, auditors will use the plan and go out and generate actual
audit data. (You can fake it with simulations–see make.truth.) The
audit data should be stored in a new data frame with new vote totals, or
overstatements, for the candidates in the audited precincts. To convert from
totals to overstatements, use audit.totals.to.OS
. You can
store that in a elec.data object under “audit”, or keep it seperate.
Usage
is.audit.plan(x)
## S3 method for class 'audit.plan'
print(x, ...)
is.audit.plan.tri(x)
## S3 method for class 'audit.plan.tri'
print(x, ...)
Arguments
x |
object to check |
... |
No extra options passed. |
audit.plan |
to print. |
audit.plan.tri |
to print. |
Value
is.audit.plan: TRUE if object is an audit.plan object.
print: No return value; prints results.
is.audit.plan.tri: TRUE if object is an audit.plan.tri object.
print: No return value; prints results.
Author(s)
Luke W. Miratrix
See Also
CAST.calc.sample tri.calc.sample