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);

marconotaro/hemdag documentation built on Nov. 21, 2024, 10:05 p.m.