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

View source: R/saferank.R

extractRankR 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)


SafeVote documentation built on Oct. 6, 2024, 1:07 a.m.