argminR Documentation

Index of the minimum values of a vector

Description

Take a numeric vector and return the index of its minimum values.

Usage

argmin(x)

Arguments

x

a numeric vector.

Details

The function argmin() works as the standard function which.min().

Value

Return the index of the minimum values of a numeric vector.

See Also

first_argmin, argmax, first_argmax