Learn R Programming

FuzzyToolkitUoN (version 1.0)

removeVar: Remove a variable.

Description

Removes a specified variable and all its attached membership functions from a given FIS object.

Usage

removeVar(FIS, varType, varIndex)

Arguments

FIS
A FIS is required.
varType
Should be either 'input' or 'output', representing the type of variable to be removed.
varIndex
The index of the variable that is to be removed (Base 1).

Value

    Examples

    Run this code
    FIS <<- tippertest()
    FIS <<- removeVar(FIS, "input", 1)

    Run the code above in your browser using DataLab