find.leaves: Leaves

View source: R/graph.utility.R

find.leavesR Documentation

Leaves

Description

Find leaves of a directed graph.

Usage

find.leaves(g)

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

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

AnacletoLAB/HEMDAG documentation built on Oct. 14, 2022, 9:18 p.m.