clusteringCoefficientPercent: Calculate the clustering coefficient as a percentage

Description Usage Arguments Value Author(s) See Also Examples

Description

Given an adjacency matrix, calculate the clustering coefficient as a percentage of non-zero adjacencies.

Usage

1

Arguments

adj

- An adjacency matrix. Calculating the clustering coefficient percentage only makes sense if some connections are zero i.e. no connection.

Value

A numerical between 0 and 100.

Author(s)

Nathan S. Watson-Haigh

See Also

clusteringCoefficient

Examples

1
2
3
4
5
6
	data(PCIT)
	m <- m[1:200,1:200]        # just use a small subset of the data
	result <- pcit(m)
	m[idx(result)] <- 0
	
	clusteringCoefficientPercent(m)

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