Learn R Programming

robCompositions (version 2.4.1)

clustCoDa_qmode: Q-mode cluster analysis for compositional parts

Description

Clustering using the variation matrix of compositional parts

Usage

clustCoDa_qmode(x, method = "ward.D2")

Value

a hclust object

Arguments

x

compositional data represented as a data.frame

method

hclust method

Author

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

Run this code
data(expenditures) 
x <- expenditures
cl <- clustCoDa_qmode(x)
if (FALSE) {
require(reshape2)
plot(cl)
cl2 <- clustCoDa_qmode(x, method = "single")
plot(cl2)
}

Run the code above in your browser using DataLab