make.cartoon {elec}R Documentation

Make the cartoon example from the CAST paper as a voter data matrix.

Description

This makes the sample scenario described in P. B. Stark's CAST paper.

Usage

make.cartoon(n = 400, vote.dist = c(125, 113, 13), stratify = TRUE)

Arguments

n

Size of sample.

vote.dist

reported votes for C1, C2, and C3 in order for all precincts.prompt

stratify

Should the sample be stratified?


[Package elec version 0.1.2.2 Index]