R/clusteringCoefficient.R

clusteringCoefficient <- function(adj, FUN='localClusteringCoefficient', ...) {
	FUN <- match.fun(FUN)
	
	coef <- FUN(adj, ...)
	
	return(coef)
}

Try the PCIT package in your browser

Any scripts or data that you put into this service are public.

PCIT documentation built on May 1, 2019, 8:10 p.m.