extractRank {SafeVote}R Documentation

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)

Arguments

rankMethod

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

cr

structure returned by a ballot-counting method

Value

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


[Package SafeVote version 1.0.0 Index]