clustCoDa_qmode {robCompositions} | R Documentation |
Q-mode cluster analysis for compositional parts
Description
Clustering using the variation matrix of compositional parts
Usage
clustCoDa_qmode(x, method = "ward.D2")
Arguments
x |
compositional data represented as a data.frame |
method |
hclust method |
Value
a hclust object
Author(s)
Matthias Templ (accessing the basic features of hclust that are all written by other authors)
References
Filzmoser, P., Hron, K. Templ, M. (2018) Applied Compositional Data Analysis, Springer, Cham.
Examples
data(expenditures)
x <- expenditures
cl <- clustCoDa_qmode(x)
## Not run:
require(reshape2)
plot(cl)
cl2 <- clustCoDa_qmode(x, method = "single")
plot(cl2)
## End(Not run)
[Package robCompositions version 2.4.1 Index]