Learn R Programming

epanet2toolkit (version 1.0.8)

ENgetnodeindex: Retrieve the index of a node

Description

Retrieve the index of a node

Usage

ENgetnodeindex(nodeid)

Value

An integer index of the specified node.

Arguments

nodeid

A character string specifying the node ID.

See Also

ENgetnodeid

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")
ENgetnodeindex("10")
ENgetnodeindex("23")
ENclose()

Run the code above in your browser using DataLab