CAST.sample: Sample from the various strata according to the schedule set by 'ns'.
Ignore all precincts that are known (i.e., have been previously audited).
Description
Sample from the various strata according to the schedule set by 'ns'.
Ignore all precincts that are known (i.e., have been previously audited).
EITHER an audit.plan or a vector of sample sizes for the strata.
Names must correspond ot the names of the strata. If ns is an audit plan,
then the strata variable should not be passed as well.
strata
Name of the stratification column of Z. Not needed if audit
plan also being passed in case of CAST.sample. NULL means single strata.
seed
Seed to use--for reproducability.
print.trail
Print out diagnostics.
known
The column of known precincts that should thus not be selected.
Similar to "drop", above.