View source: R/company_hierarchy.R
create_graph_company_hierarchies | R Documentation |
This function greates an igraph from a data frame for making networks of company hierarchies. For this function to work the first and second column must contain the company id and the companies parent id respectively
create_graph_company_hierarchies(tbl_company_relations)
tbl_company_relations |
A data frame containing the company/company relations data. |
A graph with all company hierarchies
graph_company_hierarchies <- create_graph_company_hierarchies(tbl_company_relations)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.