order.ratings {PerMallows}R Documentation

Convert rating to permutation

Description

This function is given a collection of ratings and converts each row to a permutation

Usage

order.ratings(ratings)

Arguments

ratings

a matrix in which each row is a vector of ratings of several items

Value

A matrix in which each row is the corresponding permutation of the items

Examples

order.ratings(c(0.1, 4, 0.5, -4))

[Package PerMallows version 1.13 Index]