triad_census_signed function

signed triad census

signed triad census

triad census for signed graphs

triad_census_signed(g)

Arguments

  • g: igraph object with a sign edge attribute.

Returns

counts for all 139 signed directed triangle types

Examples

library(igraph) g <- make_full_graph(4, directed = TRUE) E(g)$sign <- rep(c(-1, 1, 1, -1, -1, 1), 2) triad_census_signed(g)

Author(s)

David Schoch