grapes-less-than-equals-grapes: Partial Order in Sets and Concepts

Description Usage Arguments Details Value Examples

Description

Partial Order in Sets and Concepts

Usage

1
C1 %<=% C2

Arguments

C1

A SparseSet or SparseConcept

C2

A SparseSet or SparseConcept

Details

Both C1 and C2 must be of the same class.

Value

Returns TRUE if concept C1 is subconcept of C2 or if set C1 is subset of C2.

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)
T <- SparseSet$new(attributes = c("A", "B", "C"))
T$assign(A = 1, B = 1)

# Test whether S is subset of T
S %<=% T

neuroimaginador/fcaR documentation built on Dec. 9, 2020, 5:42 a.m.