eiCompare (version 3.0.0)

race_cand_cors: Table of bivariate correlations

Description

Table of bivariate correlations

Usage

race_cand_cors(data, cand_cols, race_cols)

Arguments

data

A data.frame() object containing precinct-level turnout data by race and candidate

cand_cols

A character vector listing the column names for turnout for each candidate

race_cols

A character vector listing the column names for turnout by race