findClosest | R Documentation |
Find the closest non NA point in a raster
findClosest(x, y, buff)
x |
a spatial object |
y |
a raster |
buff |
The distance (in map units) to restrict the search from points in x |
Finds the points in y that are closest to x
The index in y of the closest point
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.