Skip to main content

Hierarchical Clustering

Hierarchical Clustering.


  • data | object (required): object of value arrays. Default: none.
  • variables | array<string> (required): names of variables used for clustering. Default: none.
  • linkage | string: either complete or single. Default: 'complete'.
  • distance | string: used distance (euclidean, chebyshev, cosine, hamming, or manhattan). Default: 'euclidean'.
  • onResult | function: callback invoked with model object. Default: onResult() {}.


Live Editor
Last updated on by Planeshifter