powered by
Convert Signed Network to Complex
as_complex_edges(g, attr = "type")
igraph object. Must have a "sign" edge attribute.
new edge attribute name that encodes positve ("P"), negative ("N") and ambivalent ("A") ties.
igraph object
# NOT RUN { g <- sample_islands_signed(2,10,1,10) as_complex_edges(g) # }
Run the code above in your browser using DataLab