extract margins from the results of a ballot count
extractMargins(marginNames, crRanks, cr)
named list of margins
list of colnames of the margins in our SafeRank result
ranks of candidates, not necessarily total
structure returned by a ballot-counting method
Margins are adjusted for tied candidates, such that candidates within a tie group have margins indicative of their relative strengths. Extremely small margins are indicative of floating-point roundoff errors.