CompareLMAsStat | R Documentation |
This function computes several statistics to be used for comparing partitions, e.g. for parameter selection.
CompareLMAsStat(list.lma,dat)
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. |
A matrix containing the quality statistics computed by the StatClusterData function.
Daniela Ichim, Luisa Franconi, Michele D'Alo'
findClusters, StatClusterData
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.