Description Usage Arguments Details Value Author(s) Examples
This function uses a depth-first search algorithm to identify all the children (and their corresponding depth) of a node.
1 | adj.get.hops(adjmat)
|
adjmat |
adjacency matrix; parents in rows, children in columns |
The algorithm is based on the depth-first search.
two-column matrix containing the names of the children in the first column and their corresponding depth in the descent in the second column
Benjamin Haibe-Kains
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.