Learn R Programming

FuzzyToolkitUoN (version 1.0)

plotMF: Plots a 2D graph of all membership functions in a variable.

Description

Plots a 2D graph of all membership functions from the specified variable which must be part of a FIS object.

Usage

plotMF(FIS, varType, varIndex)

Arguments

FIS
Requires an existing FIS as an argument.
varType
Can be either 'input' or 'output', representing the type of variable.
varIndex
A numerical integer, representing the index of the input or output variable whose membership functions shall be plotted (base 1).

Value

    Examples

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

    Run the code above in your browser using DataLab