graph_circular_signed function

circular signed graph

circular signed graph

circular graph with positive and negative edges.

graph_circular_signed(n, r = 1, pos = 0.1, neg = 0.1)

Arguments

  • n: number of nodes
  • r: radius
  • pos: distance fraction between positive edges
  • neg: distance fraction between negative edges

Returns

igraph graph

Examples

library(igraph) graph_circular_signed(n = 50)

Author(s)

David Schoch