View source: R/graph.utility.R
check.dag.integrity | R Documentation |
Check the integrity of a dag.
check.dag.integrity(g, root = "00")
g |
a graph of class |
root |
name of the class that is on the top-level of the hierarchy ( |
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.
data(graph); root <- root.node(g); check.dag.integrity(g, root=root);
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.