leaves {classGraph}R Documentation

Determine The Terminal Nodes ('Leaves') of a Directed Graph

Description

Determine the terminal nodes (also known as leaves) of a directed graph.

Usage

leaves(g)

Arguments

g an R object of class graph (from package graph).

Value

leaves() returns a character of node names (see nodes) of g whereas

Author(s)

Martin Maechler

See Also

numOutEdges on which these build.

Examples






[Package classGraph version 0.7-0 Index]