View source: R/random_graphs.R
graph_circular_signed | R Documentation |
circular graph with positive and negative edges.
graph_circular_signed(n, r = 1, pos = 0.1, neg = 0.1)
n |
number of nodes |
r |
radius |
pos |
distance fraction between positive edges |
neg |
distance fraction between negative edges |
igraph graph
David Schoch
library(igraph)
graph_circular_signed(n = 50)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.