View source: R/make_truth_functions.R
make.cartoon | R Documentation |
This makes the sample scenario described in P. B. Stark's CAST paper.
make.cartoon(n = 400, vote.dist = c(125, 113, 13), stratify = TRUE)
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? |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.