grapes-respects-grapes: Check if Set or FormalContext respects an ImplicationSet

Description Usage Arguments Value Examples

Description

Check if Set or FormalContext respects an ImplicationSet

Usage

1
set %respects% imps

Arguments

set

(list of Sets, or a FormalContext) The sets of attributes to check whether they respect the ImplicationSet.

imps

(ImplicationSet) The set of implications to check.

Value

A logical matrix with as many rows as Sets and as many columns as implications in the ImplicationSet. A TRUE in element (i, j) of the result means that the i-th Set respects the j-th implication of the ImplicationSet.

Examples

1
2
3
4
fc <- FormalContext$new(planets)
fc$find_implications()
imps <- fc$implications$clone()
fc %respects% imps

fcaR documentation built on June 29, 2021, 1:06 a.m.