small.world: Calculate graph small-worldness

Description Usage Arguments Value Author(s) References

Description

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

Usage

1
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:

density

The range of density thresholds used.

N

The number of random graphs that were generated.

Lp

The characteristic path length.

Cp

The clustering coefficient.

Lp.rand

The mean characteristic path length of the random graphs with the same degree distribution as g.

Cp.rand

The mean clustering coefficient of the random graphs with the same degree distribution as g.

Lp.norm

The normalized characteristic path length.

Cp.norm

The normalized clustering coefficient.

sigma

The small-world measure of the graph.

Author(s)

Christopher G. Watson, cgwatson@bu.edu

References

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



Search within the brainGraph package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.