Adapted from seegSDM Identify closest neighbouring cell that does not return NA on raster mask
Arguments
- points
anything
terra::extract()
accepts as the y argument- raster
raster
- max_distance
the map units if raster is projected
Adapted from seegSDM Identify closest neighbouring cell that does not return NA on raster mask
anything terra::extract()
accepts as the y argument
raster
the map units if raster is projected