FineTuning: FineTuning

FineTuningR Documentation

FineTuning

Description

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.

Usage

FineTuning(dat, out.ini, list.contiguity)

Arguments

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.

Details

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.

Value

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.

Author(s)

Daniela Ichim, Luisa Franconi


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