FineTuning | R Documentation |
This function assigns enclaves (i.e.communities - or part of them - that are not contiguous to the rest of the LMA they belong to) to labour market areas, based on contiguity principle and the cohesion.
FineTuning(dat, out.ini, list.contiguity)
dat |
The commuting flows between communities. See function findCluster. |
out.ini |
A list of three components: clusterList, LWClus and marginals. See function findClusters. The names should not have been assigned. Use function DeleteLmaName. |
list.contiguity |
list. Each component of the list is a vector indicating the neighbouring labour market areas. The names of the list are the communities IDs. |
The algorithm (function findCluster) assigns communities to clusters based on a rule. There is no check that communities in clusters are contiguous. For this reason a fine tuning of the initial result is needed (the function FineTuning). There is no ordering of the neighbours.
A list of two components:
tunned.lma |
list of three components clusterList, LWClus and marginals containing the result of the fine tuning procedure. See function findClusters |
not.tunned.commID |
a vector of communities IDs that were not assigned based on a contiguity principle; e.g. those communities having no flows with their neighbours. |
Daniela Ichim, Luisa Franconi
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.