Learn R Programming

epanet2toolkit (version 1.0.8)

ENgetpatternid: Retrieve the ID label a time pattern

Description

ENgetpatternid retrieves the ID label of a particular time pattern.

Usage

ENgetpatternid(patternindex)

Value

A character string, the pattern ID label of the specified time pattern.

Arguments

patternindex

An integer specifying the time pattern index.

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")
ENgetpatternid(1)
ENclose()

Run the code above in your browser using DataLab