Given a territorial object (either an LMA, formed by a single community, or a polygon) the function determines its contiguous labour market areas.
FindContig(type = "poly", lma, contig.matrix, isolated)
If type="poly", the output is a list of two components:
list containing the IDs of the contiguous labour market areas of each community (polygon). The list names are the communities identifiers.
character. The names of the communities having only polygons as neighbours.
If type="lma", the output is a list containing the IDs of the contiguous labour market areas of each given lma. The list names are the communities identifiers. This option should be used for the labour market areas with a unique community.
Character indicating which type of objects should be treated. It may be "poly" (polygons) or "lma" (local labour market areas). Defaults to "poly".
A list of three components clusterList, LWClus, marginals. See the function FindClusters.
matrix: the (spatial) contiguity matrix to be used (see the function FindIsolated).
Information on the isolated objects. If type is "poly", isolated is the association matrix between communities and polygons. See the poly.com.linkage component in the output of FindIsolated function. If type is "lma", isolated is the vector of labour market areas identifiers. See the lma.unique component in the output of the FindIsolated function.
Daniela Ichim, Luisa Franconi
findClusters, FindIsolated