Learn R Programming

signnet (version 0.6.0)

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)

Arguments

n

number of nodes

r

radius

pos

distance fraction between positive edges

neg

distance fraction between negative edges

Value

igraph graph

Examples

Run this code
# NOT RUN {
library(igraph)
graph_circular_signed(n = 50)
# }

Run the code above in your browser using DataLab