clust_diss: Calculates the aggregation criterion for two clusters of...

Description Usage Arguments Value Examples

View source: R/clust_diss.R

Description

Calculates the measure of aggregation of two clusters of variables. This measure of aggregation is equal to the decrease in homogeneity for the clusters being merged.

Usage

1
clust_diss(A, B)

Arguments

A

a centered and reduced data matrix obtained with the recod function for the first cluster

B

a centered and reduced data matrix obtained with the recod function for the second cluster

Value

The aggregation measure between the two clusters

Examples

1
2
3
4
data(decathlon)
A <- PCAmixdata::recod(X.quanti=decathlon[1:10,1:5], X.quali=NULL)$Z
B <- PCAmixdata::recod(X.quanti=decathlon[1:10,6:10], X.quali=NULL)$Z
clust_diss(A,B)

chavent/ClustOfVar documentation built on Nov. 7, 2019, 2:19 p.m.