nearestValue {PointedSDMs} | R Documentation |
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. |
[Package PointedSDMs version 2.1.3 Index]