closest.data {RShinyAux} | R Documentation |
Returns the coordinates of the sample closest to the Target point
closest.data(db, x, y)
db |
The |
x,y |
Coordinates of the Target point. |
A list containing the two coordinates of the closest sample