Learn R Programming

epanet2toolkit (version 1.0.8)

ENgetnodeid: Retrieve the ID label a node.

Description

ENgetnodeid retrieves the ID label a node from its index

Usage

ENgetnodeid(nodeindex)

Value

A character string, the ID label of the specified node.

Arguments

nodeindex

An integer node index

See Also

ENgetnodeindex

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")
ENgetnodeid(1)
ENgetnodeid(5)
ENgetnodeid(9)
ENclose()

Run the code above in your browser using DataLab