VeneerSetFunction {SWTools} | R Documentation |
Update a function value or expression. Function must exist before being updated.
Description
Update a function value or expression. Function must exist before being updated.
Usage
VeneerSetFunction(Name, Expression, baseURL = "http://localhost:9876")
Arguments
Name |
Name of the function without the "$", e.g. f_ScaleFactor |
Expression |
Expression to change it to, e.g. 1.2 |
baseURL |
URL of the Veneer server. Defaults to the veneer default. |
Value
Nothing to the R environment.
Examples
## Not run:
VeneerSetFunction("f_ScaleFactor",1.2)
VeneerSetFunction("f_TargetLevel","if($m_Flow<1000,3.2,3.5)")
## End(Not run)
[Package SWTools version 1.0.3 Index]