order.ratings: Convert rating to permutation

Description Usage Arguments Value Examples

View source: R/PerMallows.R

Description

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

Usage

1
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

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

PerMallows documentation built on May 2, 2019, 6:14 a.m.