mfValidate: Validate the input of a membership function. mfValidate

Description Usage Arguments Value Note Author(s)

View source: R/FuzzyToolkitUoN.R

Description

Validates all user input when a membership function is created, and will stop function execution if invalid values are given.

Usage

1
mfValidate(mfName, mfParams)

Arguments

mfName

Passed string used to check the given name.

mfParams

Passed mfParams (numeric vector) used to check the right amount of mfParams have been given.

Value

No value returned, but can stop operation with stop().

Note

Invalid values can include illegal symbols, strings of length 0, non-character based data types as given argument etc.

Author(s)

Craig Knott, Luke Hovell, Nathan Karimian


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