%&% | R Documentation |
Intersection (Logical AND) of Fuzzy Sets
S1 %&% S2
S1 |
A |
S2 |
A |
Both S1
and S2
must be Sets.
Returns the intersection of S1
and S2
.
# 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(A = 1, C = 1)
# Intersection
S %&% T
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.