do.small.world {netmodels} | R Documentation |
This function provides the ratio of the average path length and the clustering coefficient to verify the small world behavior of the network
do.small.world(graph, filename = NULL)
graph |
Igraph network object |
filename |
If it is specified, a file in csv format is created with the results |
Dataframe containing the names(var) and the results is returned.
Domingo Vargas
Watts, D. (2004): Small worlds, the dynamics of networks between order and randomness. Princenton University Press.
data(test.net,package="netmodels") v <- do.small.world(test.net)