nslr: Sum of Logarithmic Ranks Function

Description Usage Arguments Examples

Description

This function allows you to compute the normalized sum of logarithmic ranks

Usage

1
nslr(X)

Arguments

X

vector of 0 (inactives) and 1 (actives) that was sorted based on some scores (e.g., agreement between measured and predicted shifts)

Examples

1
random_nslr(sample(c(rep(0,100),rep(1,10))))

atfrank/nmR documentation built on May 10, 2019, 2:09 p.m.