ENgetlinkindex {epanet2toolkit} | R Documentation |
ENgetlinkindex
retrieves the index of a link with specified ID.
ENgetlinkindex(linkid)
linkid |
character |
integer index of requested link
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") ENgetlinkindex("22") ENclose()