graph_convert_edgelistdf_to_parentdf: Convert a dataframe of edges (from, to) into a parent df...

Description Usage Arguments Examples

View source: R/format-conversions.R

Description

Convert a dataframe of edges (from, to) into a parent df (parent, node)

Usage

1

Arguments

edges_df

a dataframe with 'from' and 'to' columns with node names as values. To be convertible, each node should have a single parent.

Examples

1
2
ghg_edges_df <- read_csv("data-raw/ghg_cats_edges.csv")
graph_convert_edgelistdf_to_parentdf(ghg_edges_df)

jameelalsalam/nestedcats documentation built on June 2, 2020, 8:16 p.m.