Learn R Programming

brainGraph (version 0.72.0)

small.world: Calculate graph small-worldness

Description

This function will calculate the characteristic path length and clustering coefficient, which are used to calculate small-worldness.

Usage

small.world(g, rand)

Arguments

g
The graph (or list of graphs) of interest
rand
List of (lists of) equivalent random graphs (output from sim.rand.graph.par)

Value

A data frame with the following components: A data frame with the following components:

References

Watts D.J., Strogatz S.H. (1998) Collective dynamics of 'small-world' networks. Nature, 393:440-442.