Skip to main content

Hierarchical Clustering

Hierarchical Clustering.

Options#

  • 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() {}.

Examples#

Live Editor
Result
Last updated on by Planeshifter