Learn R Programming

dnr (version 0.3.5)

clustCoef: clustCoef

Description

Calculates the cluster coefficient from a network

Usage

clustCoef(x)

Arguments

x

adjacency matrix

Value

scaler

Details

Given a network in the form of adjacency matrix, this calculates the cluster coefficient. For a definition of cluster coefficient, please refer to the igraph documentation.

Examples

Run this code
# NOT RUN {
clustCoef(beach[[1]][, ])
# }

Run the code above in your browser using DataLab