plotmf {FuzzyR} | R Documentation |
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,
xx = NULL,
timelimit = 0,
xlab = NULL,
ylab = NULL,
main = NULL
)
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). |
xx |
primary inputs for extra lines |
timelimit |
for perturbation |
xlab |
X axis label using font, size and color |
ylab |
Y axis label, same font attributes as xlab |
main |
The main title (on top) |
Value
A two dimensional graph displaying all the membership functions of a given variable.
Examples
fis <- tipper()
plotmf(fis, "input", 1)
[Package FuzzyR version 2.3.2 Index]