rank2order: Given a rank, it is transformed to a ordering
Description
From ranking to ordering. IMPORTANT: check which symbol denotes tied rankings in the X matrix
Usage
rank2order(X, items = NULL, TO = "{", TC = "}", itemtype = "L")
Value
a ordering or a matrix of orderings:
out | | ranking or matrix of rankings |
Arguments
- X
A ordering or a matrix containing orderings
- items
items to be placed into the ordering matrix. Default are the
- TO
symbol indicating the start of a set of items ranked in a tie
- TC
symbol indicating the end of a set of items ranked in a tie
- itemtype
to be used only if items=NULL. The default value is "L", namely
Examples
Run this codedata(APAred)
ord<-rank2order(APAred)
Run the code above in your browser using DataLab