Learn R Programming

functClust (version 0.1.6)

argmin: 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.

Value

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

Details

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

See Also

first_argmin, argmax, first_argmax