Quantile-Based Clustering for Univariate Data
Returns a quantile-based clustering for univariate data.
quant_clust(x, G)
x
: A vector of numeric data.G
: The desired number of clusters.The vector of cluster labels.
data(CO2data) quant_clust(CO2data$CO2, G=2)
Useful links