Description Usage Arguments Value Author(s) Examples
View source: R/euclidean.distance.R
Calculate the euclidean distance between two vectors. Note that both x and y need to be the same length.
1 | euclidean.distance(x, y)
|
x |
A vector of coordinates |
y |
A vector of coordinate |
The euclidean distance
Richard de Borja <richard.deborja@sickkids.ca>
1 2 3 | x <- c(1,2,3);
y <- c(4,5,6);
euclidean.distance(x, y);
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.