Learn R Programming

brainGraph (version 3.1.0)

small.world: Calculate graph small-worldness

Description

small.world calculates the normalized characteristic path length and clustering coefficient based on observed and random graphs, used to calculate the small-world coefficient \(\sigma\).

Usage

small.world(g.list, rand)

Value

A data.table with the following components:

density

The range of density thresholds used.

N

The number of random graphs that were generated.

Lp,Lp.rand,Lp.norm

The observed, average random, and normalized characteristic path length.

Cp,Cp.rand,Cp.norm

The observed, average random, and normalized clustering coefficient.

sigma

The small-world measure of the graph.

Arguments

g.list

A brainGraphList object or list of graphs

rand

List of (lists of) equivalent random graphs (output from sim.rand.graph.par)

Author

Christopher G. Watson, cgwatson@bu.edu

References

Watts, D.J. and Strogatz S.H. (1998) Collective dynamics of "small-world" networks. Nature, 393, 440--442. tools:::Rd_expr_doi("10.1038/30918")