check_args: Check for missing essential arguments from an ei function

View source: R/ei_utils.R

check_argsR Documentation

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

Author(s)

Ari Decter-Frain <agd75@cornell.edu>


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