powered by
Find the root node of a directed graph
root.node(g)
a graph of class graphNEL. It represents the hierarchy of the classes
graphNEL
name of the root node
# NOT RUN { data(graph); root <- root.node(g); # }
Run the code above in your browser using DataLab