OrderingToRanking: Transformation between Rankings and Orderings
Description
OrderingToRanking transforms between ranking representation and ordering representation.
Usage
OrderingToRanking(ordering)
Arguments
ordering
a matrix of orderings or rankings. Each row contains an observation.
Value
a matrix of transformed rankings or orderings. Each row contains an observation.
Details
Ranking representation encodes the position of objects. Ordering representation is an ordered sequence of objects.
For example ranking (2 3 1 4) is equivalent to ordering (3 1 2 4), which means object 3 is first, object 1 is second, followed by object 2 and 4.