ENgetnodeid {epanet2toolkit} | R Documentation |
Retrieve the ID label a node.
Description
ENgetnodeid
retrieves the ID label a node from its index
Usage
ENgetnodeid(nodeindex)
Arguments
nodeindex |
An integer node index |
Value
A character string, the ID label of the specified node.
Note
Node indexes are consecutive integers starting from 1.
See Also
ENgetnodeindex
Examples
# path to Net1.inp example file included with this package
inp <- file.path( find.package("epanet2toolkit"), "extdata","Net1.inp")
ENopen( inp, "Net1.rpt")
ENgetnodeid(1)
ENgetnodeid(5)
ENgetnodeid(9)
ENclose()
[Package epanet2toolkit version 1.0.5 Index]