graph2df: Graph to data frame

View source: R/graph_utils.R

graph2dfR Documentation

Graph to data frame

Description

Convert graph object to dataframe with source and target columns

Usage

graph2df(graph)

Arguments

graph

Network

Value

data frame

Examples

dag <- create_random_DAG(30, 0.2)
graph2df(dag)

cbg-ethz/dce documentation built on Oct. 29, 2022, 8:14 a.m.