attribute_points - PNHP/Regional_SDM GitHub Wiki

The R script currently does this:

  1. you define a path to the set of environmental rasters (set up for native R rasters).
  2. you define a path to your random presence points.
  3. the script makes a raster stack from all rasters in the folder you've defined
  4. all points are then attributed with all rasters in the raster stack
  5. the resulting attributed point data set (random presence points) is then written out (with a name ending in "_att")