ENgetpatternindex | R Documentation |
ENgetpatternindex
retrieves the index of a time pattern.
ENgetpatternindex(patternid)
patternid |
A character string specifying the pattern ID |
An integer, the index of the specified time pattern.
Pattern indexes are consecutive integers starting from 1.
# 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()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.