ENgetlinkid {epanet2toolkit} | R Documentation |
ENgetlinkid
retrieves the ID label of the link given its index.
ENgetlinkid(linkindex)
linkindex |
integer specifying the link index. |
character ID
Link indexes are consecutive integers starting from 1.
# path to Net1.inp example file included with this package
inp <- file.path( find.package("epanet2toolkit"), "extdata","Net1.inp")
ENopen( inp, "Net1.rpt")
ENgetlinkid(1)
ENgetlinkid(12)
ENclose()