topMax: Find the Nth largest / smallest value

Description Usage Arguments Value

View source: R/topMax.R

Description

find the Nth largest / smallest value in an unsorted list without sorting. The functions use splitting and therefore run in O(N).

Usage

1
  topMax(x, N)

Arguments

x

a numeric list of length L

N

the Nth largest / smallest value to be found

Value

the Nth largest / smallest value


yishaishimoni/phenoClust documentation built on May 4, 2019, 5:28 p.m.