prepIgraphConversion: prepIgraphConversion

Description Usage Arguments Details Value Author(s) Examples

Description

Prepares a graph for storing in standard format

Usage

1
prepIgraphConversion(g, nodesName = c("vertices", "nodes"))

Arguments

g

An igraph object

nodesName

Name for node portion of the object

Details

Breaks an igraph into a list holding a nodes data.frames and an edges data.frame. The nodes data.frame has at minimum an id and label column plus any other node attributes. The edges data.frame has at minimum an id, source and target columns plus any edge attributes.

Value

A list holding a nodes data.frames and an edges data.frame. The nodes data.frame has at minimum an id and label column plus any other node attributes. The edges data.frame has at minimum an id, source and target columns plus any edge attributes.

Author(s)

Jared P. Lander

Examples

1
2

jaredlander/GraphConvert documentation built on May 18, 2019, 3:46 p.m.