min_dist | R Documentation |
Minimal distance between one point to many points
min_dist(x, X, norm = rep(1, ncol(X)))
x |
one point |
X |
matrix of points (same number of columns than x) |
norm |
normalization vecor of distance (same number of columns than x) |
minimal distance
min_dist(runif(3),matrix(runif(30),ncol=3))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.