View source: R/set_c_directionality.R
set_c_directionality | R Documentation |
Calculates equivalent passability based on graph directionality and directionality type
set_c_directionality(
graph,
dir_fragmentation_type = "symmetric",
pass_confluence = 1,
pass_u = "pass_u",
pass_d = "pass_d"
)
graph |
an object of class igraph. Can be both directed or undirected. |
dir_fragmentation_type |
how directionality in c_ij calculations is dealt with:
|
pass_confluence |
a value in the range [0,1] that defines the passability of confluences (default is 1). |
pass_u |
the 'graph' edge attribute to be used as upstream passability. Default is "pass_u". |
pass_d |
the 'graph' edge attribute to be used as downstream passability. Default is "pass_d". |
an object of class 'igraph' with the equivalent passability stored in the edge attribute 'pass_eq'
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.