root.node: Root node

View source: R/graph.utility.R

root.nodeR Documentation

Root node

Description

Find the root node of a directed graph.

Usage

root.node(g)

Arguments

g

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

Value

Name of the root node.

Examples

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

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