Learn R Programming

functClust (version 0.1.6)

first_argmin: Index of the first minimum value of a vector

Description

Take a numeric vector and return the index of the first (the lowest index) minimum values.

Usage

first_argmin(x)

Arguments

x

a numeric vector.

Value

Return the index of the first (the lowest index) minimum values of a numeric vector.

Details

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

See Also

argmin, argmax, first_argmax