Calculate differences in bloc contributions
vb_difference.Rd
Use 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
vbdf
with which to compute differences.- sort_col
character vector naming the column(s) in
vbdf
to use for sorting before calling diff.- tolerance
tolerance used when checking range of probability estimates