find.leaves: Leaves

Description Usage Arguments Value Examples

View source: R/graph.utility.R

Description

Find leaves of a directed graph.

Usage

1

Arguments

g

a graph of class graphNEL. It represents the hierarchy of the classes.

Value

A vector with the names of the leaves of g.

Examples

1
2
data(graph);
leaves <- find.leaves(g);

HEMDAG documentation built on Feb. 12, 2021, 5:13 p.m.