ENgetpatternvalue | R Documentation |
ENgetpatternvalue
retrieves the multiplier factor for specific time periods in a pattern.
ENgetpatternvalue(index, period)
index |
An integer specifying the time pattern index. |
period |
An integer or integer vector of the periods within the time pattern. |
A numeric or numeric vector, the multiplier factor for the specific time pattern and period.
Pattern indexes and periods are consecutive integers starting from 1.
ENgetpatternindex
, ENgetpatternlen
, ENsetpatternvalue
# path to Net1.inp example file included with this package
inp <- file.path( find.package("epanet2toolkit"), "extdata","Net1.inp")
ENopen( inp, "Net1.rpt")
ENgetpatternvalue(1,1)
ENgetpatternvalue(1,2)
ENgetpatternvalue(1,3)
ENclose()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.