root.node {HEMDAG} | R Documentation |
Root node
Description
Find the root node of a directed graph.
Usage
root.node(g)
Arguments
g |
a graph of class |
Value
Name of the root node.
Examples
data(graph);
root <- root.node(g);
[Package HEMDAG version 2.7.4 Index]