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

Description Usage Arguments Value Examples

View source: R/FuzzyInferenceSystem.R

Description

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

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
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

1
2
fis <- tipper()
plotmf(fis, "input", 1)

Example output



FuzzyR documentation built on May 19, 2021, 9:06 a.m.

Related to plotmf in FuzzyR...