which.maxn.Rd
Determines the locations, i.e., indices of the n largest or n smallest elements of a numeric vector.
which.maxn(x, n = 1)
numeric vector
integer >= 1
A vector of length at most n with the indices of the n largest / smaller elements. NAs are discarded and that can cause the vector to be smaller than n.