sracpp: 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
sracpp(rankMat, maxlength, B, cens, 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

maxlength

The maximum depth that are needed XXX

B

The number of resamples to use in the presence of censored lists

cens

A vector of integer values that

type

The type of distance measure to use: 0 (the default) is the variance while 1 is MAD (median 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 squared (!) sequential rank agreement between the lists for each depth. If the MAD type was chosen then the sequential MAD values are returned

Author(s)

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


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