Learn R Programming

set6 (version 0.1.1)

support: Get Support of FuzzySet

Description

The support of a fuzzy set is defined as the set of elements whose membership is greater than zero, or the strong alpha-cut with \(\alpha = 0\), $$A_\alpha = \{x \epsilon F | m > 0\}$$ where \(x\) is an element in the fuzzy set, \(F\), and \(m\) is the corresponding membership.

Arguments

create

logical, if FALSE (default) returns the support elements, otherwise returns a Set of the support elements

Value

Support elements in fuzzy set or a Set of the support elements.

R6 Usage

$support(create = FALSE)

See Also

core, alphaCut

Examples

Run this code
# NOT RUN {
f = FuzzySet$new(0.1, 0, 1, 0.1, 2, 0.5, 3, 1)
f$support()
f$support(TRUE)
# }

Run the code above in your browser using DataLab