apaClustering.Hierarchical.SortCorrsOrDists(ClusteringResult, CorrOrDistMatrix)
Excel
=apaClustering.Hierarchical.SortCorrsOrDists(ClusteringResult, CorrOrDistMatrix)Result
Sorts a correlation or distance matrix according to the order generated by a clustering algorithm: rows and columns are arranged in the leaf order of the dendrogram, so that elements of the same cluster appear in adjacent blocks.
Syntax
ClusteringResult: output of a hierarchical clustering function, e.g. apaClustering.Hierarchical.SingleLinkage
CorrOrDistMatrix: n x n correlation or distance matrix to be sorted
