totalKem_mult: Summary Statistics of Multiple given Rankings

View source: R/totalKem_mult.R

totalKem_multR Documentation

Summary Statistics of Multiple given Rankings

Description

Calculates the sum, maximum, and variance of k individual Kemeny distances of multiple given rankings from input rankings.

Usage

totalKem_mult(rkgs, input_rkgs, pairs, wt = wt)

Arguments

rkgs

a matrix of rankings to be compared against the input rankings. Each row must be a complete ranking, meaning that all of the objects have a rank.

input_rkgs

a k by n matrix of k rankings of n objects, where each row is a complete ranking. Note that this is a transpose of matrix used for functions like fur, sigfur, rap_greedy_alg, and subit_convergence.

pairs

a 2 by n choose 2 matrix of all combinations of object pairs of n objects, where each column contains a pair of object indices.

wt

a k-length vector containing weights for each judge or attribute. An optional parameter.

Value

A vector of the total Kemeny distance, the maximum Kemeny distance of the individual Kemeny distances, and the variance of the individual Kemeny distances.

See Also

mod_kemeny, subit_convergence, rap_greedy_alg, seed_based_iteration


RankAggSIgFUR documentation built on July 9, 2023, 7:26 p.m.