euclidDistance {locationgamer} | R Documentation |
Euclidean distance between two points
euclidDistance(x1, y1, x2, y2)
x1 |
x-coordinate of point 1 |
y1 |
y-coordinate of point 1 |
x2 |
x-coordinate of point 2 |
y2 |
y-coordinate of point 2 |
The Euclidean distance between points 1 and 2 as a number