min_dist {DiceView} | R 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))
[Package DiceView version 2.2-0 Index]