Check geographic and environmental distances for collinearity
check_dists.Rd
Check geographic and environmental distances for collinearity
Arguments
- envlayers
SpatRaster or Raster* object
- coords
dataframe with x and y sample coordinates
- type
the type of geographic distance to be calculated; options are "Euclidean" for direct distance, "topographic" for topographic distances, and "resistance" for resistance distances
- lyr
DEM raster for calculating topographic distances or resistance raster for calculating resistance distances
- sig
significance threshold for Mantel test