Learn R Programming

FuzzyToolkitUoN (version 1.0)

removeMF: Remove a membership function.

Description

Removes a specified membership function from a given variable (which must be part of a FIS object).

Usage

removeMF(FIS, varType, varIndex, mfIndex)

Arguments

FIS
Requires a FIS.
varType
Should be either 'input' or 'output', representing the type of variable.
varIndex
The index of the input or output variable (Base 1).
mfIndex
The index of the membership function which is to be removed.

Value

    Examples

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

    Run the code above in your browser using DataLab