Learn R Programming

eiCompare (version 3.0.4)

od_plot_create: od_plot_create

Description

Internal

Usage

od_plot_create(race, cand_pair, dens_data, out, plot_path = NULL, cand_colors)

Value

Comparison density plots

overlay density plot comparing candidates for votes by race

Arguments

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

Author

Loren Collingwood <loren.collingwood@ucr.edu>

Hikari Murayama