Learn R Programming

elec.strat (version 0.1.1)

getQ: Obtaining the Cost Vector.

Description

Obtains the cost value q, which can then be passed into the branch and bound function. See Higgins, Rivest, Stark for details.

Usage

getQ(Z)

Arguments

Z
A strat.elec.data object.

References

M. Higgins, R. L. Rivest, P. B. Stark. Sharper p-Values for Stratified Election Audits

Examples

Run this code
	data(MN_Senate_2006)
	getQ(MN_Senate_2006.strat)

Run the code above in your browser using DataLab