ENgetpatternlen | R Documentation |
ENgetpatternlen
retrieves the number of time periods in a specific time pattern.
ENgetpatternlen(patternindex)
patternindex |
An integer specifying a time pattern index. |
An integer, the time pattern length.
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")
ENgetpatternlen(1)
ENclose()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.