VeneerSetFunction: Update a function value or expression. Function must exist...

View source: R/Veneer.R

VeneerSetFunctionR 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)
 

matt-s-gibbs/swtools documentation built on Feb. 3, 2024, 3:43 p.m.