%==% | R Documentation |
Equality in Sets and Concepts
C1 %==% C2
C1 |
A |
C2 |
A |
Both C1
and C2
must be of the same class.
Returns TRUE
if C1
is equal to C2
.
# Build two sparse sets
S <- Set$new(attributes = c("A", "B", "C"))
S$assign(A = 1)
T <- Set$new(attributes = c("A", "B", "C"))
T$assign(A = 1)
# Test whether S and T are equal
S %==% T
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.