eiCompare (version 3.0.0)

check_args: Check for missing essential arguments from an ei function

Description

Check for missing essential arguments from an ei function

Usage

check_args(data, cand_cols, race_cols, totals_col, totals_null = FALSE)

Arguments

data

A dataframe upon which EI is to be performed

cand_cols

A column of candidate names passed from ei functions

race_cols

A column of race names passed from ei functions

totals_col

The name of a column passed from ei functions

totals_null

A boolean. If TRUE, ignore totals_col argument