overlay_density_plot: overlay_density_plot

View source: R/overlay_density_plot.R

overlay_density_plotR Documentation

overlay_density_plot

Description

Internal

Usage

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

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

Value

Prep and run density plot creation iteratively

Author(s)

Loren Collingwood <loren.collingwood@ucr.edu>

Hikari Murayama


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