clustCoDa_qmode: Q-mode cluster analysis for compositional parts

View source: R/clustCoDa_qmode.R

clustCoDa_qmodeR 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)

robCompositions documentation built on Aug. 25, 2023, 5:13 p.m.