grapes-grapes: Difference in SparseSets

Description Usage Arguments Details Value Examples

Description

Difference in SparseSets

Usage

1
S1 %-% S2

Arguments

S1

A SparseSet

S2

A SparseSet

Details

Both S1 and S2 must be SparseSets.

Value

Returns the difference S1 - S2.

Examples

1
2
3
4
5
6
7
8
# Build two sparse sets
S <- SparseSet$new(attributes = c("A", "B", "C"))
S$assign(A = 1, B = 1)
T <- SparseSet$new(attributes = c("A", "B", "C"))
T$assign(A = 1)

# Difference
S %-% T

neuroimaginador/fcaR documentation built on Feb. 15, 2021, 9:44 a.m.