do_galois_lattice: Create a Galois lattice

Description Usage Arguments Value See Also Examples

View source: R/GaloisFunction.R

Description

Creates a Galois lattice for a two mode Graph, with labeling of chosen mapping

Usage

1
2
do_galois_lattice(X, directed = FALSE, by = "best", label = "reduced",
  one_mode = FALSE)

Arguments

X

a igraph object of a two mode network, or matrix

directed

TRUE/FALSE depending on wether the output Galois lattice should be directed

by

"col","row","best", depending if the result should be using the colnames, rownames or the most time efficient option

label

"partly","full","reduced", depending if the result should have partly labeled nodes as chosen with "by" or the full label or an reduced labeling approach

one_mode

TRUE/FALSE if the input graph is a one-mode network

Value

igraph object, a Galois Lattice

See Also

do_full_label for full label galois lattice and 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
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)

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