make_edges_dt: Create a data.table that can be used to load all edges into...

Description Usage Arguments

View source: R/igraph_functions.R

Description

Given a data.table and a list containing edges and their attributes, creates a data.table that can be used to create the edges in an igraph graph

Usage

1
make_edges_dt(dt, edge_info, same_e_attr_list = NULL)

Arguments

dt:

data.table containing columns for all the edges and edge attributes

edge_info:

named list, where the name is the edge type and each "to" and "from" refers to the columns in the dt to go from and to

same_e_attr_list:

named list where the name is the edge attributes to resolve and the associated character vector are the column names to be resolved from dt


zbeaver4/beavR documentation built on May 4, 2019, 9:12 p.m.