Get Direct Links (R Implementation)
getDirectLinks.R(x, upstream = TRUE)
x | data frame with each row representing a link of the network. Required columns: us_node_id, ds_node_id |
---|---|
upstream | if TRUE (upstream), if FALSE (downstream), default: TRUE |
list with as many elements as there are rows in x