check.dag.integrity {HEMDAG} | R Documentation |
DAG checker
Description
Check the integrity of a dag.
Usage
check.dag.integrity(g, root = "00")
Arguments
g |
a graph of class |
root |
name of the class that is on the top-level of the hierarchy ( |
Value
If all the nodes are accessible from the root "dag is ok" is printed, otherwise a message error and the list of the not accessible nodes is printed on the stdout.
Examples
data(graph);
root <- root.node(g);
check.dag.integrity(g, root=root);
[Package HEMDAG version 2.7.4 Index]