Learn R Programming

ConsRank (version 2.1.5)

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:

outranking 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

Author

Antonio D'Ambrosio antdambr@unina.it

Examples

Run this code
data(APAred)
ord<-rank2order(APAred)

Run the code above in your browser using DataLab