Skip to contents

Which min n Get the indecies of the n smallest values using partial sort

Usage

which_min_n(x, n)

Arguments

x

vector

n

the number of indices

Value

vector of indecies