grapes-or-grapes: Union (Logical OR) of Fuzzy Sets

%or%R Documentation

Union (Logical OR) of Fuzzy Sets

Description

Union (Logical OR) of Fuzzy Sets

Usage

S1 %|% S2

Arguments

S1

A Set

S2

A Set

Details

Both S1 and S2 must be Sets.

Value

Returns the union of S1 and S2.

Examples

# Build two sparse sets
S <- Set$new(attributes = c("A", "B", "C"))
S$assign(A = 1, B = 1)
T <- Set$new(attributes = c("A", "B", "C"))
T$assign(C = 1)

# Union
S %|% T


fcaR documentation built on May 29, 2024, 2:05 a.m.