attribute_points - PNHP/Regional_SDM GitHub Wiki
The R script currently does this:
- you define a path to the set of environmental rasters (set up for native R rasters).
- you define a path to your random presence points.
- the script makes a raster stack from all rasters in the folder you've defined
- all points are then attributed with all rasters in the raster stack
- the resulting attributed point data set (random presence points) is then written out (with a name ending in "_att")