Learn R Programming

eiCompare (version 3.0.4)

overlay_density_plot: overlay_density_plot

Description

Internal

Usage

overlay_density_plot(
  agg_betas,
  results_table,
  race_cols,
  cand_cols,
  plot_path,
  ei_type
)

Value

Prep and run density plot creation iteratively

Arguments

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")

Author

Loren Collingwood <loren.collingwood@ucr.edu>

Hikari Murayama