edge.coord: Edge coordinates

Description Usage Arguments Value

Description

Generates coordinates as a data.frame suitable for ggplot2's geom_segment. This function is not super efficient and should be upgraded.

Usage

1

Arguments

graph

a igraph network object

layout

a two-column numerical matrix with coordinates for each vertex of graph

Value

an edge list as a matrix with coordinates of the start and end vertices for each edge.


antongrau/soc.elite documentation built on May 10, 2019, 12:25 p.m.