Description Usage Arguments Author(s) Examples
Compute euclidian distance between 2 points
1 |
data |
a dataframe with 2 lines and 2 or 3 columns (x,y,(z)) |
JuG
1 2 3 4 | data2D <- data.frame(x =c(0,1), y=c(0,1))
calcDist(data2D)
data3D <- data.frame(x =c(0,1), y=c(0,1), z=c(0,1))
calcDist(data3D)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.