node_coords: Node Coordinates

Description Usage Arguments Value Author(s)

Description

Computes axis locations of each node. This function can be helpful when you want to separately plot the node labels using the function mtext.

Usage

1
2
node_coords(edgelist, sorted = FALSE, decreasing = FALSE, ordering = NULL,
  labels = NULL)

Arguments

edgelist

basically a two-column matrix with edges

sorted

logical to indicate if nodes should be sorted

decreasing

logical to indicate type of sorting

ordering

optional numeric vector providing the ordering of nodes

labels

character vector with labels for the nodes

Value

a vector with the location of nodes in the x-axis

Author(s)

Gaston Sanchez


REIDS documentation built on May 2, 2019, 6:42 a.m.