nearestValue: nearestValue: Match species location data to environmental raster layers
Description
Obtain the nearest covariate value at each of the species locations.
Usage
nearestValue(pts, r, ...)
Arguments
- pts
The species location data
- r
The raster file to extract the covariates at.
- ...
Extra arguments for knnx.index.