R/2d.R
get_min_indices.Rd
This function returns the indices of all minimum distances.
get_min_indices(x)
A numeric vector.
A numeric vector containing the indices of all minimum distances.
x <- c(1, 2, 1, 3) get_min_indices(x) #> [1] 1