View source: R/complex_matrices.R
as_complex_edges | R Documentation |
Convert Signed Network to Complex
as_complex_edges(g, attr = "type")
g |
igraph object. Must have a "sign" edge attribute. |
attr |
new edge attribute name that encodes positive ("P"), negative ("N") and ambivalent ("A") ties. |
igraph object
David Schoch
g <- sample_islands_signed(2, 10, 1, 10)
as_complex_edges(g)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.