compgraph: compgraph

Description Arguments Details Value Author(s) Examples

Description

Instantiate a compgraph object

Arguments

g1

An igraph object

g2

An igraph object

name

The name of the resulting compgraph object

Details

Class function for compgraphs

Value

A compgraph object, which consists of a list containing

name

The name of the compgraph

g1

The social igraph object

g2

The communication igraph object

R

A vector that provides a 1-1 mapping between the vertices in g1 and the vertices in g2

D1.geodesic

A matrix of the geodesic distances in g1

D2.geodesic

A matrix of the geodesic distances in g2

T

A minimum spanning tree for g1

Author(s)

Ben Baumer

Examples

1
2
3
# Create a compgraph
cg = compgraph (g1, g2, name="myCompGraph")
cg

beanumber/compgraph documentation built on May 12, 2019, 9:42 a.m.