rankBorda: Rank Aggregation via Borda algorithm

Description Usage Arguments Value Author(s) Examples

Description

Rank aggregation of ordered lists is performed using the Borda algorithm.

Usage

1
rankBorda(mat,decreasing)

Arguments

mat

: a matrix of ordered lists to be combined (lists must be in rows)

decreasing

: logical. Should the sort be increasing or decreasing?

Value

The aggregated list.

Author(s)

Issam Falih <issam.falih@lipn.univ-paris13.fr>

Examples

1
2
3
4
5
matt <- matrix(c("A", "B", "C", "D", "E",
"B", "D", "A", "E", "C",
"B", "A", "E", "C", "D",
"A", "D", "B", "C", "E"), byrow=TRUE, ncol=5)
print(rankBorda(matt))

Issamfalih/MUNA documentation built on May 8, 2019, 11:52 a.m.