Learn R Programming

set6 (version 0.1.1)

core: Get Core of FuzzySet

Description

The core of a fuzzy set is defined as the set of elements whose membership is equal to one, or the alpha-cut with \(\alpha = 1\), $$A_\alpha = \{x \epsilon F \ : \ m \ge 1\}$$ where \(x\) is an element in the fuzzy set, \(F\), and \(m\) is the corresponding membership.

Arguments

create

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

Value

Core elements in FuzzySet or a Set of the core elements.

R6 Usage

$core(create = FALSE)

See Also

support, alphaCut

Examples

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

Run the code above in your browser using DataLab