VeneerSetFunction | R Documentation |
Update a function value or expression. Function must exist before being updated.
VeneerSetFunction(Name, Expression, baseURL = "http://localhost:9876")
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. |
Nothing to the R environment.
## Not run:
VeneerSetFunction("f_ScaleFactor",1.2)
VeneerSetFunction("f_TargetLevel","if($m_Flow<1000,3.2,3.5)")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.