db.grid.locate {RGeostats} | R Documentation |
Identify the absolute grid node
db.grid.locate(db, coor = NA)
db |
The |
coor |
Coordinates of the sample which must be located within the grid |
If the sample lies within the grid, this function returns the absolute index of the closest grid node to the target point. If the sample does not lie within the grid, the function returns -1.
The absolute grid index or -1.