Learn R Programming

ClustOfVar (version 1.1)

clust_diss: Calculates the aggregation criterion for two clusters of variables

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

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

Run this code
# NOT RUN {
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)
# }

Run the code above in your browser using DataLab