small.world: Calculate graph small-worldness

Description Usage Arguments Value Author(s) References

View source: R/small_world.R

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 σ.

Usage

1
small.world(g.list, rand)

Arguments

g.list

A brainGraphList object or list of graphs

rand

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

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.

Author(s)

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. https://dx.doi.org/10.1038/30918


brainGraph documentation built on Oct. 23, 2020, 6:37 p.m.