root.node {HEMDAG}R 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);

[Package HEMDAG version 2.7.4 Index]