Calculate differences in bloc contributions
vb_difference.RdUse vbdf output to calculate differences in blocs' net Republican vote contributions.
Arguments
- vbdf
data.frame holding the results of voting bloc analyses.
- estimates
character vector naming the column(s) in
vbdfwith which to compute differences.- sort_col
character vector naming the column(s) in
vbdfto use for sorting before calling diff.- tolerance
tolerance used when checking range of probability estimates