graph2df {dce}R 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)

[Package dce version 1.2.0 Index]