root.node: Root node

Description Usage Arguments Value Examples

View source: R/graph.utility.R

Description

Find the root node of a directed graph.

Usage

1

Arguments

g

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

Value

name of the root node.

Examples

1
2
data(graph);
root <- root.node(g);

gecko515/HEMDAG documentation built on Oct. 18, 2019, 6:34 a.m.