Description Usage Arguments Details Value Examples
Calculates the distance between two vectors
1 2 |
x |
The x vector. |
y |
The y vector. |
data |
If data is provided x and y will be taken from data. |
method |
One of euclidean, manhattan, canberra, minkowski. |
p |
Only used if method is minkowski. |
Calculates the distance between two vectors. Euclidean, manhattan, canberra and minkowski are supported.
The distance between x and y.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.