This function updates clusterData by merging cluster1 and cluster2.
mergeCluster(clusterData, cluster1, cluster2)
A cluster data object, i.e. a list of three components:
data.table of three columns: community, cluster, residents
data.table of three columns; cluster_live, cluster_work and amount
data.table of three columns: cluster, amount_live, amount_work
List (three components) containing all defining information on the current clusters found by the algorithm.
Cluster ID to be merged. An unique positive integer.
cluster ID to be merged. An unique positive integer.
Daniela Ichim, Luisa Franconi, Michele D'Alo', Guido van den Heuvel
findClusters