Check for missing essential arguments from an ei function
check_args(data, cand_cols, race_cols, totals_col, totals_null = FALSE)
A dataframe upon which EI is to be performed
A column of candidate names passed from ei functions
A column of race names passed from ei functions
The name of a column passed from ei functions
A boolean. If TRUE, ignore totals_col argument
Ari Decter-Frain <agd75@cornell.edu>