powered by
Count Walks in complex signed network
complex_walks(g, attr, k)
igraph object.
edge attribute that encodes positve ("P"), negative ("N") and ambivalent ("A") ties.
integer. length of walks
igraph object
# NOT RUN { g <- sample_islands_signed(2,10,1,10) g <- as_complex_edges(g,attr="type") complex_walks(g,attr="type",k = 3) # }
Run the code above in your browser using DataLab