is_signed function

Check if network is a signed network

Check if network is a signed network

is_signed(g)

Arguments

  • g: igraph object

Returns

logical scalar

Examples

g <- sample_islands_signed(2, 5, 1, 5) is_signed(g)