Closed vtraag closed 3 years ago
I now reverted using getClusterWeights
in place where a larger array (of size network.nNodes
) is required. The larger size is necessary because it is possible that more clusters will be required than the initial number of clusters in the provided clustering
.
Given https://github.com/CWTSLeiden/networkanalysis/pull/15, it makes sense to use the getClusterWeights functions also elsewhere, which is done in this PR.