Learn R Programming

ConsRank (version 2.0.0)

QuickCons: Quick algorithm to find up to 4 solutions to the consensus ranking problem

Description

The Quick algorithm finds up to 4 solutions. Solutions reached are most of the time optimal solutions.

Usage

QuickCons(X, Wk = NULL, FULL = FALSE, PS = FALSE)

Arguments

X
A N by M data matrix in which there are N judges and M objects to be judged. Each row is a ranking of the objects which are represented by the columns. Alternatively X can contain the rankings observed only once in the sample. In this case the argument Wk must be used
Wk
Optional: the frequency of each ranking in the data
FULL
Default FULL=FALSE. If FULL=TRUE, the searching is limited to the space of full rankings.
PS
Default PS=FALSE. If PS=TRUE the number of evaluated branches is diplayed

Value

a "list" containing the following components:
Consensus the Consensus Ranking
Tau averaged TauX rank correlation coefficient

References

Amodio, S., D'Ambrosio, A. and Siciliano, R. (2016). Accurate algorithms for identifying the median ranking when dealing with weak and partial rankings under the Kemeny axiomatic approach. European Journal of Operational Research, 249(2), 667-676.

See Also

FASTcons FAST algorithm. QuickCons Quick algorithm.

Examples

Run this code
data(EMD)
CR=QuickCons(EMD[,1:15],EMD[,16])

Run the code above in your browser using DataLab