mat <- matrix(c(0,3,2,0, 0,0,5,1, 0,0,0,4, 2,0,0,0), 4, 4, byrow = TRUE)
rownames(mat) <- colnames(mat) <- c("Plan", "Execute", "Monitor", "Adapt")
net <- as_cograph(mat)
# All triads, feed-forward loops, triads involving "Plan"
head(extract_triads(net))
extract_triads(net, type = "030T")
extract_triads(net, involving = "Plan")
Run the code above in your browser using DataLab