which_min: A function to compute row-wise index of minimum values of a...

View source: R/RcppExports.R

which_minR Documentation

A function to compute row-wise index of minimum values of a square distance matrix

Description

For internal use only

Usage

which_min(X)

Arguments

X

a square matrix of distances

Details

Used internally to find the nearest neighbors

Value

a vector of the indices of the minimum value in each row of the input matrix

Author(s)

Antoine Stevens


l-ramirez-lopez/resemble documentation built on April 20, 2023, 10:44 p.m.