Clustering using the variation matrix of compositional parts
clustCoDa_qmode(x, method = "ward.D2")
compositional data represented as a data.frame
hclust method
a hclust object
Filzmoser, P., Hron, K. Templ, M. (2018) Applied Compositional Data Analysis, Springer, Cham.
# NOT RUN { data(expenditures) x <- expenditures cl <- clustCoDa_qmode(x) plot(cl) cl2 <- clustCoDa_qmode(x, method = "single") plot(cl2) # }
Run the code above in your browser using DataCamp Workspace