find.leaves {HEMDAG} | R Documentation |
Leaves
Description
Find leaves of a directed graph.
Usage
find.leaves(g)
Arguments
g |
a graph of class |
Value
A vector with the names of the leaves of g.
Examples
data(graph);
leaves <- find.leaves(g);
[Package HEMDAG version 2.7.4 Index]