do.small.world {netmodels}R Documentation

Performs the small world test of the given network.

Description

This function provides the ratio of the average path length and the clustering coefficient to verify the small world behavior of the network

Usage

do.small.world(graph, filename = NULL)

Arguments

graph Igraph network object
filename If it is specified, a file in csv format is created with the results

Value

Dataframe containing the names(var) and the results is returned.

Author(s)

Domingo Vargas

References

Watts, D. (2004): Small worlds, the dynamics of networks between order and randomness. Princenton University Press.

Examples


data(test.net,package="netmodels")
v <- do.small.world(test.net)

[Package netmodels version 0.2 Index]