Description Usage Arguments Details Value Examples
exploring the parentship, returns a matrix with rows associated to nodes giving their ancestors until (if possible) the first blocking node
1 | parcours8gn(gn, blocked=character(0), imon=TRUE)
|
gn |
The gn object to be dealt |
blocked |
(= character(0)) those nodes which are reference node for blocking |
imon |
(=TRUE) must blocked node be included? |
In a first step the matrix of chidrenhood is calculated which can be expansive when the number of nodes is high.
A square matrix. Its rows corresponds to every node. Its columns are associated to possible ascendants: 0 if not, 1 if it is. The node itself is not included that is the diagonal elements are zero. The row and column order are those of iin; the dimnames of this matrix are given by the node names.
1 2 | g4n3k("RESET"); # needed only for R checking, to be forgotten
parcours8gn(g4n.gn7);
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.