Learn R Programming

epanet2toolkit (version 1.0.8)

ENgetpatternindex: Retrieve the index a time pattern.

Description

ENgetpatternindex retrieves the index of a time pattern.

Usage

ENgetpatternindex(patternid)

Value

An integer, the index of the specified time pattern.

Arguments

patternid

A character string specifying the pattern ID

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

Run the code above in your browser using DataLab