Learn R Programming

LabourMarketAreas (version 3.4)

FindContig: FindContig

Description

Given a territorial object (either an LMA, formed by a single community, or a polygon) the function determines its contiguous labour market areas.

Usage

FindContig(type = "poly", lma, contig.matrix, isolated)

Value

If type="poly", the output is a list of two components:

list.contig.poly

list containing the IDs of the contiguous labour market areas of each community (polygon). The list names are the communities identifiers.

com_no.LMA.neigh

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.

Arguments

type

Character indicating which type of objects should be treated. It may be "poly" (polygons) or "lma" (local labour market areas). Defaults to "poly".

lma

A list of three components clusterList, LWClus, marginals. See the function FindClusters.

contig.matrix

matrix: the (spatial) contiguity matrix to be used (see the function FindIsolated).

isolated

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.

Author

Daniela Ichim, Luisa Franconi

See Also

findClusters, FindIsolated