GarrettLab / HabitatConnectivity

geohabnet R package
https://garrettlab.github.io/HabitatConnectivity/
GNU General Public License v3.0
7 stars 4 forks source link

Link weight in shortest paths #95

Closed AaronPlex closed 6 months ago

AaronPlex commented 7 months ago
  1. Fix how link weights are provided in the betweenness() and closeness() functions.

link.weight<-seq(0,1,0.01)

max.inverse<-1.0001*max(link.weight)-link.weight #this is the transformed link weights that has to be provided in betweenness