Learn R Programming

SafeVote (version 1.0.1)

combineRankings: the least upper bound on a pair of rankings

Description

the least upper bound on a pair of rankings

Usage

combineRankings(r1, r2)

Value

the most complete (but possibly partial) ranking which is consistent with both r1 and r2. Uses 'ties.method="min"'

Arguments

r1, r2

numeric vectors

Examples

Run this code
combineRankings( c(3,1,2), c(2,1,3) )

Run the code above in your browser using DataLab