Calculate the euclidean distance between 2 points
1 | cppdist(x1, x2, size)
|
x1 |
A numeric vector of the coordinates of x1 point. |
x2 |
A numeric vector of the coordinates of x2 point. |
size |
A integer of the length of x1 or/and x2. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.