quant_clust function

Quantile-Based Clustering for Univariate Data

Quantile-Based Clustering for Univariate Data

Returns a quantile-based clustering for univariate data.

quant_clust(x, G)

Arguments

  • x: A vector of numeric data.
  • G: The desired number of clusters.

Returns

The vector of cluster labels.

Examples

data(CO2data) quant_clust(CO2data$CO2, G=2)
  • Maintainer: Keefe Murphy
  • License: GPL (>= 3)
  • Last published: 2025-03-05