Learn R Programming

signnet (version 1.0.5)

graph_circular_signed: circular signed graph

Description

circular graph with positive and negative edges.

Usage

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

Value

igraph graph

Arguments

n

number of nodes

r

radius

pos

distance fraction between positive edges

neg

distance fraction between negative edges

Author

David Schoch

Examples

Run this code
library(igraph)
graph_circular_signed(n = 50)

Run the code above in your browser using DataLab