removeVar: Remove a variable.

Description Usage Arguments Value Author(s) Examples

View source: R/FuzzyToolkitUoN.R

Description

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

Usage

1
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

A FIS with the specified variable removed.

Author(s)

Craig Knott, Luke Hovell, Nathan Karimian

Examples

1
2
FIS <<- tippertest()
FIS <<- removeVar(FIS, "input", 1)

FuzzyToolkitUoN documentation built on May 2, 2019, 5:50 a.m.