graph_circular_signed: circular signed graph

View source: R/random_graphs.R

graph_circular_signedR Documentation

circular signed graph

Description

circular graph with positive and negative edges.

Usage

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

Value

igraph graph

Author(s)

David Schoch

Examples

library(igraph)
graph_circular_signed(n = 50)

signnet documentation built on Sept. 9, 2023, 1:06 a.m.