Example data describing a network of connected links

exampleNetwork(n_links = 30L, index = 1L)

Arguments

n_links

number of links that the network to be returned shall contain. If there is no network with the given number of links, a network that is slightly smaller or bigger is returned. Giving -1L here returns the biggest possible network that is stored in this package.

index

integer number to switch between different sub nets if more than one subset of the required size is available.

Value

data frame with (roughly) n_links observations of two variables. The variables us_node_id (upstream node ID) and ds_node_id (downstream node ID) define the connections between links. They are needed if the list of connected links upstream of each node is to be calculated by means of getConnectedLinks.