CompareLMAsStat: CompareLMAsStat

CompareLMAsStatR Documentation

CompareLMAsStat

Description

This function computes several statistics to be used for comparing partitions, e.g. for parameter selection.

Usage

CompareLMAsStat(list.lma,dat)

Arguments

list.lma

list of LMAs to be compared. Each component of the list is a list of at least two components: lma and param (see the output of the function findCluster). The lma component is a list of three data.tables: clusterList, LWClus and marginals (the names should have not been assigned; otherwise use function DeleteLmaName). The param is a numeric vector containing the parameters of the corresponding LMAs, i.e. minSZ, minSC, tarSZ, tarSC.

dat

data frame/data.table with the original commuting flows between communities. It contains three columns: community_live, community_work and amount.

Value

A matrix containing the quality statistics computed by the StatClusterData function.

Author(s)

Daniela Ichim, Luisa Franconi, Michele D'Alo'

See Also

findClusters, StatClusterData


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