withindiss {ClustGeo} | R Documentation |
Dissimilarity based pseudo within-cluster inertia of a partition
Description
This function performs the pseudo within-cluster inertia of a partition from a dissimilarity matrix.
Usage
withindiss(D, part, wt = NULL)
Arguments
D |
an object of class "dist" with the dissimilarities between the n observations.
The function |
part |
a vector with group membership. |
wt |
vector with the weights of the observations |
References
M. Chavent, V. Kuentz-Simonet, A. Labenne, J. Saracco. ClustGeo: an R package for hierarchical clustering with spatial constraints. Comput Stat (2018) 33: 1799-1822.
[Package ClustGeo version 2.1 Index]