set_B_directionality {riverconn} | R Documentation |
Calculates average upstream/downstream or combined distance between each couple of reaches
Description
Calculates average upstream/downstream or combined distance between each couple of reaches
Usage
set_B_directionality(
graph,
dir_distance_type = "symmetric",
field_B = "length"
)
Arguments
graph |
an object of class igraph. Can be both directed or undirected. |
dir_distance_type |
how directionality in B_ij calculations is dealt with:
|
field_B |
the 'graph' edge attribute to be used to calculate the distance. Default is |
Value
an object of class 'igraph' with the upstream/downstream/total distances stored as edges attributes.
[Package riverconn version 0.3.31 Index]