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

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