ENgetoption | R Documentation |
ENgetoption
retrieves the value of one or more particular analysis options.
ENgetoption(optioncode)
optioncode |
A character or integer specifying the option code (see below). |
Option codes consist of the following constants:
EN_TRIALS | 0 |
EN_ACCURACY | 1 |
EN_TOLERANCE | 2 |
EN_EMITEXPON | 3 |
EN_DEMANDMULT | 4 |
numeric value of the specified analysis option(s).
# path to Net1.inp example file included with this package
inp <- file.path( find.package("epanet2toolkit"), "extdata","Net1.inp")
ENopen( inp, "Net1.rpt")
ENgetoption(0)
ENgetoption("EN_TRIALS")
ENclose()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.