Get the number of clusters of a network.

getNumberOfClusters(x)

Arguments

x

[Network]
Network.

Value

[integer(1)] Number of clusters.

Note

For simple random or grid networks this function always returns 1.