scores.to.order {StatRank}R Documentation

Converts scores to a ranking

Description

takes in vector of scores (with the largest score being the one most preferred) and returns back a vector of WINNER, SECOND PLACE, ... LAST PLACE

Usage

scores.to.order(scores)

Arguments

scores

the scores (e.g. means) of a set of alternatives

Value

an ordering of the index of the winner, second place, etc.

Examples

scores <- Generate.RUM.Parameters(10, "exponential")$Mean
scores.to.order(scores)

[Package StatRank version 0.0.6 Index]