Description Usage Arguments Value Author(s) References Examples
View source: R/clustCoDa_qmode.R
Clustering using the variation matrix of compositional parts
1 | clustCoDa_qmode(x, method = "ward.D2")
|
x |
compositional data represented as a data.frame |
method |
hclust method |
a hclust object
Matthias Templ (accessing the basic features of hclust that are all written by other authors)
Filzmoser, P., Hron, K. Templ, M. (2018) Applied Compositional Data Analysis, Springer, Cham.
1 2 3 4 5 6 7 8 9 10 | 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)
|
Loading required package: robustbase
Loading required package: ggplot2
Loading required package: data.table
Loading required package: e1071
Loading required package: pls
Attaching package: 'pls'
The following object is masked from 'package:stats':
loadings
sROC 0.1-2 loaded
Attaching package: 'robCompositions'
The following object is masked from 'package:robustbase':
alcohol
Loading required package: reshape2
Attaching package: 'reshape2'
The following objects are masked from 'package:data.table':
dcast, melt
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.