View source: R/math_functions.R
| distance | R Documentation |
Euclidean distance
distance(x, y, eps = 1e-08)
x |
A numeric vector. |
y |
A numeric vector. |
eps |
A small value added for numerical stability (default is 1e-8). |
The Euclidean distance between x and y.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.