extractRank function

Extract a ranking vector by name from the results of a ballot count

Extract a ranking vector by name from the results of a ballot count

extractRank(rankMethod, cr)

Arguments

  • rankMethod: "safeRank", "elected", or "rank"
  • cr: structure returned by a ballot-counting method

Returns

a numeric ranking vector, in order of colnames(cr$data)

  • Maintainer: Clark Thomborson
  • License: GPL (>= 2)
  • Last published: 2024-10-05