This function calculates the Ward aggregation measures between pairs of singletons.
a object of class "dist" with the dissimilarities between the n obsevations.
vector with the weights of the observations. By default, wt=NULL corresponds to the case where all observations are weighted by 1/n.
The Ward agreggation measure between to singletons i and j weighted by wi and wj is : (wiwj)/(wi+wj)dij^2 where dij is the dissimilarity between i and j.
Returns an object of class dist with the Ward aggregation measures between the n singletons.
M.chavent, V. Kuentz-Simonet, A. Labenne, J. Saracco. ClustGeo: an R package for hierarchical clustering with spatial constraints arXiv:1707.03897 [stat.CO]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.