cran / riverconn

:exclamation: This is a read-only mirror of the CRAN R package repository. riverconn — Fragmentation and Connectivity Indices for Riverscapes. Homepage: https://github.com/damianobaldan/riverconn Report bugs for this package: https://github.com/damianobaldan/riverconn/issues
Other
1 stars 0 forks source link

SCI #2

Open zhaowentong opened 1 year ago

zhaowentong commented 1 year ago

Hello ,I was looking at "A model to evaluate spatiotemporal variations of hydrological connectivity on a basin-scale complex river network After the article intensive human activity", there were some problems when trying to calculate the SCI index. According to the SCI formula, the weight of SCI index was based on river class and reach length. I used the following code to calculate the weight:

calculate the weight , ORD_STRA is the river level for each reach

V(river_graph)$class <- V(river_graph)$ORD_STRA * V(river_graph)$length

SCI

index_calculation(graph = river_graph, weight = "class", B_ij_flag = FALSE, index_type = "reach", index_mode = "from") I am not sure if this calculation is correct and would be grateful for any advice.

gaborcsardi commented 1 year ago

Hi, this is a read only mirror of CRAN, please see the package authors in the DESCRIPTION file. Look for Maintainer, BugReports and URL. Thanks!