View source: R/LabourMarketAreas.R
mergeCluster | R Documentation |
This function updates clusterData by merging cluster1 and cluster2.
mergeCluster(clusterData, cluster1, cluster2)
clusterData |
List (three components) containing all defining information on the current clusters found by the algorithm. |
cluster1 |
Cluster ID to be merged. An unique positive integer. |
cluster2 |
cluster ID to be merged. An unique positive integer. |
A cluster data object, i.e. a list of three components:
ClusterList |
data.table of three columns: community, cluster, residents |
LWClus |
data.table of three columns; cluster_live, cluster_work and amount |
marginals |
data.table of three columns: cluster, amount_live, amount_work |
This function is called and used internally by the main function findClusters.
Daniela Ichim, Luisa Franconi, Michele D'Alo', Guido van den Heuvel
findClusters
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.