euc_dist | R Documentation |
Euclidean distance function
euc_dist(x1, x2)
x1 |
(tuple<real>) A tuple of real numbers |
x2 |
(tuple<real>) A tuple of real numbers |
(real) Euclidean distance between x1 and x2
dist(c(1, 2), c(3, 4))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.