dissolveClusterSel: dissolveClusterSel

View source: R/LabourMarketAreas.R

dissolveClusterSelR Documentation

dissolveClusterSel

Description

This function dissolves a selected cluster into its constituent communities. Such communities are given temporary cluster IDs. Then clusterList is updated with the temporary IDs and the number of commuters (LWClus) and the cluster structure (marginals) are recomputed.

Usage

dissolveClusterSel(clusterData, cluster, lwcom)

Arguments

clusterData

list of 3 data.tables defining all the elements of the current set of clusters.

cluster

integer: id of the selected cluster to be dissolved into its constituent communities.

lwcom

data frame/data.table containing the selected commuting data.

Value

clusterData

list of 3 data tables defining all the elements of the current set of clusters. The ID includes negative values corresponding to the dissolved cluster.

Note

This function is called and used internally by the main function findClusters.

Author(s)

Daniela Ichim, Luisa Franconi, Michele D'Alo, Guido van den Heuvel

References

[1] Franconi, L., D'Alo' M. and Ichim, D. (2016). Istat implementation of the algorithm to develop Labour Market Areas.

See Also

findClusters


LabourMarketAreas documentation built on Oct. 10, 2023, 5:07 p.m.