
Last chance! 50% off unlimited learning
Sale ends in
Plots individual ordered lists with the corresponding solution. Optionally, naive average rank aggregation can be added.
# S3 method for raggr
plot(x, show.average = TRUE, show.legend = TRUE, colR="red", ...)
raggr object returned by RankAggreg
boolean if average aggregation to be plotted
boolean if the legend is to be displayed
specifies the color for the resulting list
additional plotting parameters
Nothing is returned
The function plots individual lists and the solution using ranks only (weights are not used at any time). Optional average rank aggregation can be performed and visualized. Average rank aggregation is a simple aggregation procedure which computes the average ranks for each unique element accross and orders them from the smallest to the largest value.
Pihur, V., Datta, S., and Datta, S. (2007) "Weighted rank aggregation of cluster validation measures: a Monte Carlo cross-entropy approach" Bioinformatics, 23(13):1607-1615
# NOT RUN {
# rank aggregation without weights
x <- 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)
(CES <- RankAggreg(x, 5, method="CE", distance="Spearman", rho=.1, verbose=FALSE))
plot(CES)
# }
Run the code above in your browser using DataLab