View source: R/ei_rc_congruence.R
ei_rc_congruence | R Documentation |
Calculates congruence scores between EI and RxC for the 2x2 Scenario
ei_rc_congruence(ei_rc_table, cand_race, group_race)
ei_rc_table |
Object produced from ei_rc_good_table(), where include_good=F, of class ei_compare |
cand_race |
Numeric vector indicating race of the candidates in order they show up in table rownames, where 1=Latino; 2=Black; 3=Asian; 4=White/Non |
group_race |
Numeric vector, taking similar values as cand_race where 1=Latino; 2=Black; 3=Asian; 4=White/Non |
Table of congruence scores
Loren Collingwood <loren.collingwood@ucr.edu>, Matt Barreto <barretom@ucla.edu>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.