sracppfull: Compute the sequential rank agreement between k ranked lists

Description Usage Arguments Value Author(s)

View source: R/RcppExports.R

Description

Computes the sequential rank agreement (number of items present in all k lists divided by the current rank) for each rank in the k lists

Usage

1
sracppfull(rankMat, type = 0L, epsilon = as.numeric(c(0)))

Arguments

rankMat

A matrix with k columns corresponding to the k ranked lists. Elements of each column are integers between 1 and the length of the lists

type

The type of distance measure to use: 0 (the default) is the variance while 1 is MAD (mean absolute deviation)

epsilon

A non-negative numeric vector that contains the minimum limit in proportion of lists that must show the item. Defaults to 0. If a single number is provided then the value will be recycles to the number of items.

Value

A vector of the same length as the rows in rankMat containing the sequential rank agreement between the lists for each depth (squared for type=0)

Author(s)

Claus Ekstrøm <ekstrom@sund.ku.dk>


SuperRanker documentation built on Jan. 30, 2021, 1:06 a.m.