Description Usage Arguments Value Author(s) Examples
Adds an input or output variable to a FIS object.
1 | addVar(FIS, varType, varName, varBounds)
|
FIS |
A FIS must be provided. |
varType |
Should be either 'input' or 'output' which represents the type of variable to be created and added. |
varName |
A string representing the name of the variable. |
varBounds |
Also known as the 'range', this should be a vector giving a range for the variable, such as 1:10. |
A FIS with the new variable added.
Craig Knott, Luke Hovell, Nathan Karimian
1 2 | FIS <<- tippertest()
FIS <<- addVar(FIS, "input", "MyVariableName", 0:10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.