leaves {classGraph} | R Documentation |
Determine the terminal nodes (also known as leaves) of a directed graph.
leaves(g)
g |
an R object of class graph
(from package graph). |
leaves()
returns a character of node names (see
nodes
) of g
whereas
Martin Maechler
numOutEdges
on which these build.