Description Usage Arguments Value Examples
View source: R/FuzzyInferenceSystem.R
Adds an input or output variable to a fis object.
1 2 3 4 5 6 7 8 9 |
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. |
method |
fuzzification or defuzzification method.
|
params |
the required parameters for the corresponding fuzzification or defuzzification method.
For example, the required parameters for |
firing.method |
the chosen method for getting the firing strength (for non-singleton fuzzification).
|
A fis with the new variable added.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.