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