Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

min_dist

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))

DiceView

Methods for Visualization of Computer Experiments Design and Surrogate

v2.0-1
GPL-3
Authors
Yann Richet, Yves Deville, Clement Chevalier
Initial release
2020-11-27

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.