od_plot_create: od_plot_create

View source: R/od_plot_create.R

od_plot_createR Documentation

od_plot_create

Description

Internal

Usage

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

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

Value

Comparison density plots

overlay density plot comparing candidates for votes by race

Author(s)

Loren Collingwood <loren.collingwood@ucr.edu>

Hikari Murayama


eiCompare documentation built on Aug. 31, 2023, 5:16 p.m.