quant_clust {MoEClust} | R Documentation |
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)