View source: R/od_plot_create.R
od_plot_create | R Documentation |
Internal
od_plot_create(race, cand_pair, dens_data, out, plot_path = NULL, cand_colors)
race |
Racial demographic of interest |
cand_pair |
All possible candidate pairing combinations |
dens_data |
Beta values long for each race and candidate pair |
out |
Summary table from overlay_density_plot for every race candidate pair |
plot_path |
Path to save plots. If NULL, plot is not saved. |
cand_colors |
Colors for every candidate |
Comparison density plots
overlay density plot comparing candidates for votes by race
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.