Learn R Programming

epanetReader (version 1.0.0)

expandedLinkTable: Expanded Link Table

Description

Create an expandedLinkTable object by adding node coordinates to a data frame of pipes, pumps, or valves.

Usage

expandedLinkTable(Links, Coordinates)

Value

an expandedLinkTable object

Arguments

Links

data frame of Pipes, Pumps or Valves of from epanet.inp

Coordinates

table of epanet.inp

Examples

Run this code
x <- expandedLinkTable(Net1$Pipes, Net1$Coordinates) 
print(x)
plot(x) 

Run the code above in your browser using DataLab