do_reduced_label: Get Reduced Labelling of Galois Lattice

Description Usage Arguments Details Value See Also Examples

View source: R/ReducedLabelling.R

Description

Reduces full label of Galois lattice to a specific reduced label

Usage

1
do_reduced_label(GaloisGraph, OriginalGraph)

Arguments

GaloisGraph

the Galois Graph from do_galois_lattice with full label

OriginalGraph

the original two-mode graph used for the galois lattice

Details

function can only be used for a full labeled galois lattice

Value

igraph object, a Galois Lattice with Reduced Label

See Also

galois_layout for correct hierarchical plots and do_dominance_tree for extracting positional dominance from a galois lattice

Examples

1
2
3
4
5
6
7
8
9
M=matrix(c(1,1,1,0,0,0,
0,0,0,1,1,1,
1,0,0,1,0,0,
1,1,0,1,0,1),nrow=6)
colnames(M) <- c("A", "B", "C", "D")
rownames(M) <- as.character(1:6)
Galois <- do_galois_lattice(M, label = "partly")
Galois <- do_full_label(Galois, M)
Galois <- do_reduced_label(Galois, M)

Siliegia/galoislattice documentation built on Jan. 30, 2020, 8:16 p.m.