50% off | Unlimited Data & AI Learning

Last chance! 50% off unlimited learning

Sale ends in


SafeVote (version 1.0.1)

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

Description

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

Usage

extractRank(rankMethod, cr)

Value

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

Arguments

rankMethod

"safeRank", "elected", or "rank"

cr

structure returned by a ballot-counting method