Description Usage Arguments Value See Also Examples
View source: R/GaloisFunction.R
Creates a Galois lattice for a two mode Graph, with labeling of chosen mapping
1 2 | do_galois_lattice(X, directed = FALSE, by = "best", label = "reduced",
one_mode = FALSE)
|
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 |
igraph object, a Galois Lattice
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
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.