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)

Example output

[1] 0.8258251

ClustOfVar documentation built on May 2, 2019, 12:37 p.m.