Learn R Programming

⚠️There's a newer version (2.1.5) of this package.Take me there.

ConsRank (version 2.0.0)

Compute the Median Ranking(s) According to the Kemeny's Axiomatic Approach

Description

Compute the median ranking according to the Kemeny's axiomatic approach. Rankings can or cannot contain ties, rankings can be both complete or incomplete. The package contains both branch-and-bound algorithms and heuristic solutions recently proposed. The package also provide some useful utilities for deal with preference rankings. Essential references: Emond, E.J., and Mason, D.W. (2002) ; D'Ambrosio, A., Amodio, S., and Iorio, C. (2015) ; Amodio, S., D'Ambrosio, A., and Siciliano R. (2016) ; D'Ambrosio, A., Mazzeo, G., Iorio, C., and Siciliano, R. (2017) .

Copy Link

Version

Install

install.packages('ConsRank')

Monthly Downloads

4,846

Version

2.0.0

License

GPL-3

Maintainer

Antonio DAmbrosio

Last Published

April 9th, 2017

Functions in ConsRank (2.0.0)

DECORcore

Differential Evolution algorithm for Median Ranking
EMCons

Branch-and-bound algorithm to find consensus (median) ranking according to the Kemeny's axiomatic approach
BBFULL

Branch-and-Bound algorithm to find the median ranking in the space of full (or complete) rankings.
BBconsensus

Find the first approximation to the consensus ranking. Most of the time the output is a solution, maybe not unique
FASTcons

FAST algorithm to find consensus (median) ranking.
German

combincost

Auxiliary function called by DECORcore
combinpmatr

Combined input matrix of a data set
USAranks

branches

Auxliary code recalled by other routines
mutaterand1

Mutuation phase
polyplot

Plot rankings on a permutation polytope of 3 o 4 objects containing all possible ties
APAFULL

APAred

PenaltyBB2

Auxiliary function
QuickCons

Quick algorithm to find up to 4 solutions to the consensus ranking problem
ConsRank-package

DECOR

Differential Evolution algorithm for Median Ranking
Idea

crossover

Apply the (binomial) crossover for DE algorithm
findbranches

Auxiliary function
reordering

Given a vector (or a matrix), returns an ordered vector (or a matrix with ordered vectors)
scorematrix

Score matrix according Emond and Mason (2002)
Penalty

Auxiliary function
findconsensusBB

Find a first ranking candidate to be the median ranking
kemenyd

Kemeny distance
EMD

FASTDECOR

FAST algorithm calling DECOR
childclosint

Transform the vector into ranking for DECOR
childtie

Auxiliary function
sports

tabulaterows

Frequency distribution of a sample of rankings
BBconsensus2

Core function in computing consensus ranking as defined by Emond and Mason (2002)
BU

ReorderingBB

Auxiliary function
Tau_X

TauX (tau exstension) rank correlation coefficient
kemenydesign

Auxiliary function
labels

Transform a ranking into a ordering.