powered by
Find the leaves of a directed graph
find.leaves(g)
a graph of class graphNEL. It represents the hierarchy of the classes
graphNEL
a vector with the names of the leaves of g
# NOT RUN { data(graph); leaves <- find.leaves(g); # }
Run the code above in your browser using DataLab