Get Direct Links (R Implementation)

getDirectLinks.R(x, upstream = TRUE)

Arguments

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

Value

list with as many elements as there are rows in x