OrderingToRanking: Transformation between Rankings and Orderings

Description Usage Arguments Details Value

View source: R/rankdist.R


OrderingToRanking transforms between ranking representation and ordering representation.





a matrix of orderings or rankings. Each row contains an observation.


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. Also note that we can use this function to transform rankings into orderings, and applying this function twice will not change the input value.


a matrix of transformed rankings or orderings. Each row contains an observation.

rankdist documentation built on May 19, 2017, 10:52 a.m.

Search within the rankdist package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.