Check if network is a signed network

is_signed(g)

Arguments

g

igraph object

Value

logical scalar

Examples

g <- sample_islands_signed(2, 5, 1, 5)
is_signed(g)
#> [1] TRUE