get_root_vertex_name: Get the root node's name of a tree

View source: R/company_hierarchy.R

get_root_vertex_nameR Documentation

Get the root node's name of a tree

Description

Get the root node's name of a tree

Usage

get_root_vertex_name(tree_graph)

Arguments

tree_graph

The graph containing the hierarchical tree

Value

The vertex name that is the root of the graph

Examples

graph_SBI <- get_root_vertex_name(tree_graph)

mark-me/graydon.package documentation built on Nov. 14, 2023, 5:31 p.m.