View source: R/complex_matrices.R
complex_walks | R Documentation |
Count Walks in complex signed network
complex_walks(g, attr, k)
g |
igraph object. |
attr |
edge attribute that encodes positive ("P"), negative ("N") and ambivalent ("A") ties. |
k |
integer. length of walks |
igraph object
David Schoch
g <- sample_islands_signed(2, 10, 1, 10)
g <- as_complex_edges(g, attr = "type")
complex_walks(g, attr = "type", k = 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.