euclidDistance {locationgamer} | R Documentation |
Euclidean distance between two points
Description
Euclidean distance between two points
Usage
euclidDistance(x1, y1, x2, y2)
Arguments
x1 |
x-coordinate of point 1 |
y1 |
y-coordinate of point 1 |
x2 |
x-coordinate of point 2 |
y2 |
y-coordinate of point 2 |
Value
The Euclidean distance between points 1 and 2 as a number
[Package locationgamer version 0.1.0 Index]