View source: R/LabourMarketAreas.R
getLeastSelfContained | R Documentation |
This function determines the validity for all clusters as well as the minimum value i.e. the value for which the "X-equation" is minimal (see [1] and [2]). This minimum corresponds to the selected cluster to be dissolved. If more than one cluster share the same minimum value the first will be chosen.
getLeastSelfContained(LWClus, marginals, minSZ, minSC, tarSZ, tarSC)
LWClus |
data table containing the flows between the clusters. |
marginals |
data table containing the structural characteristics of the clusters. |
minSZ |
numeric, parameter indicating the minimum size of the cluster in order to be an acceptable LMA. |
minSC |
numeric, parameter indicating the minimum self containment of the cluster in order to be an acceptable LMA. |
tarSZ |
numeric, parameter indicating the target size of the clusters. |
tarSC |
numeric, parameter indicating the target self containment of the clusters. |
A list of two components:
minivalout |
data.table containing the identifier of cluster attaining the minimum validity and its corresponding value. |
LWSelf |
data.table containing the validity computations for each cluster. |
This function is called and used internally by the main function findClusters.
Daniela Ichim, Luisa Franconi, Michele D'Alo', Guido van den Heuvel
[1] Coombes, M. e Bond, S. (2008). Travel-to-Work Areas: the 2007 review. London: Office for National Statistics, 2008.
[2] Franconi, L., D'Alo' M. and Ichim, D. (2016). Istat implementation of the algorithm to develop Labour Market Areas.
findClusters
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.