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