Learn R Programming

epanet2toolkit (version 1.0.8)

ENgetlinknodes: Retrieve the index of the end nodes of a link

Description

Retrieve the index of the end nodes of a link

Usage

ENgetlinknodes(linkindex)

Value

integer vector of node indices for this link

Arguments

linkindex

integer specifying the link index

See Also

ENgetlinkindex

Examples

Run this code
# path to Net1.inp example file included with this package
inp <- file.path( find.package("epanet2toolkit"), "extdata","Net1.inp")  
ENopen( inp, "Net1.rpt")
ENgetlinknodes(1)
ENgetlinknodes(11)
ENclose()

Run the code above in your browser using DataLab