evaluationMatrix {RankAggregator}R Documentation

Evaluation matrix

Description

This function is called by RankAggregator::consensusRanking. For each pair of Items, whenever both Items are ranked by the same Reviewer, this function sums the occurances when each of the two Items is preferred to the other.

Usage

evaluationMatrix(x)

Arguments

x

a data.frame containing columns titled Reviewer, Item, Ranking. On data structure, Reviewer and Item must be character, and Ranking must be numeric. Each row of x identifes the rank position that a single Reviewer awarded a single Item

Value

An m x n pairwise matrix giving the number of times Item[m] is preferred to (i.e. receives a ranking value lower than) Item[n] across all Reviewer Rankings

Examples

evaluationMatrix(cook_example)

[Package RankAggregator version 0.0.1 Index]