eiCompare (version 3.0.0)

empty_ei_df: Create a dataframe with NA values for racial and candidate counts.

Description

Create a dataframe with NA values for racial and candidate counts.

Usage

empty_ei_df(ncand = 2, nrace = 2, nrow = 2)

Arguments

ncand

The number of candidates to include

nrace

The number of race/ethnicitiesto include

nrow

The number of rows for the dataframe

Value

A dataframe with columns for each candidate and race, all with NAs