View source: R/signed_triangles.R
triad_census_signed | R Documentation |
triad census for signed graphs
triad_census_signed(g)
g |
igraph object with a sign edge attribute. |
counts for all 139 signed directed triangle types
David Schoch
library(igraph)
g <- graph.full(4, directed = TRUE)
E(g)$sign <- rep(c(-1, 1, 1, -1, -1, 1),2)
triad_census_signed(g)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.