This is R code for the colored triad census algorithm in Lienert et al. (2019) Social Networks.
- inst/CTCFunctions.R : To be deprecated. Ignore for now.
- R/colored.triad.census.R : Script containing functions to compute colored triad census a la Lienert et al. (2019).
- inst/ctc.examples.R : working examples of how to use colored triad census function
install.packages('devtools')
devtools::install_github('https://github.com/UoMResearchIT/ColoredTriadCensus')