galois_layout: Layout for plotting a Galois lattice

Description Usage Arguments Value See Also Examples

View source: R/GaloisLayout.R

Description

orders the nodes of a Galois lattice according to their hierarchical position

Usage

1

Arguments

X

a Galois lattice, as the output of do_galois_lattice

Value

matrix, the layout to use in plot for the galois lattice

See Also

do_dominance_tree for extracting positional dominance from a galois lattice

Examples

1
2
3
4
5
6
7
8
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)
plot(Galois, layout = galois_layout(Galois))

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