Skip to contents

Returns an igraph::graph object representing the flow graph of the danube dataset.

Usage

getDanubeFlowGraph(stationIndices = NULL, directed = FALSE)

Arguments

stationIndices

Logical or numerical vector. Indicating which stations to include.

directed

Logical. Whether the graph should be directed (in the direction of flow).

Value

An igraph::graph object.

See also

Other danubeData: danube, plotDanube()