50% off | Unlimited Data & AI Learning
Get 50% off unlimited learning

signnet (version 0.8.1)

triad_census_signed: signed triad census

Description

triad census for signed graphs

Usage

triad_census_signed(g)

Value

counts for all 139 signed directed triangle types

Arguments

g

igraph object with signed edge attribute

Author

David Schoch

Examples

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

Run the code above in your browser using DataLab