triad_census_signed {signnet}R Documentation

signed triad census

Description

triad census for signed graphs

Usage

triad_census_signed(g)

Arguments

g

igraph object with a sign edge attribute.

Value

counts for all 139 signed directed triangle types

Author(s)

David Schoch

Examples

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

[Package signnet version 1.0.4 Index]