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

%<=%R Documentation

Partial Order in Sets and Concepts

Description

Partial Order in Sets and Concepts

Usage

C1 %<=% C2

Arguments

C1

A Set or Concept

C2

A Set or Concept

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

# 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, B = 1)

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


fcaR documentation built on May 29, 2024, 2:05 a.m.