Description Usage Arguments Value Examples
This function calculates Euclidean distance between vectors x1 and x2.
1 | euc.dist(x1, x2)
|
x1 |
first numeric vector. |
x2 |
second numeric vector. |
asqrt(sum((x1 - x2) ^ 2)).
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.