min_dist: Minimal distance between one point to many points

min_distR Documentation

Minimal distance between one point to many points

Description

Minimal distance between one point to many points

Usage

min_dist(x, X, norm = rep(1, ncol(X)))

Arguments

x

one point

X

matrix of points (same number of columns than x)

norm

normalization vecor of distance (same number of columns than x)

Value

minimal distance

Examples

min_dist(runif(3),matrix(runif(30),ncol=3))

IRSN/DiceView documentation built on Jan. 31, 2024, 10:09 a.m.