View source: R/overlay_density_plot.R
overlay_density_plot | R Documentation |
Internal
overlay_density_plot(
agg_betas,
results_table,
race_cols,
cand_cols,
plot_path,
ei_type
)
agg_betas |
Output for RxC and iterative ei |
results_table |
Summary table for candidate race pair means and se's |
race_cols |
A character vector listing the column names for turnout by race |
cand_cols |
A character vector listing the column names for turnout for each candidate |
plot_path |
Path to save |
ei_type |
Specify whether the data comes from iterative ei ("ei") or rxc ("rxc") |
Prep and run density plot creation iteratively
Loren Collingwood <loren.collingwood@ucr.edu>
Hikari Murayama
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.