clust_diss2 {ClustOfVar}R Documentation

Dissimilarity between two clusters of variables

Description

Dissimilarity between two clusters of variables when only the covariance/correlation matrix is known.

Usage

clust_diss2(x, A, B)

Arguments

x

a covariance/correlation matrix

A

indices of cluster A

B

indices of cluter B

Value

The dissimilarity between the two clusters

Examples

data(decathlon)
x <- cor(decathlon[,1:10])
A <- c(1,3,4)
B <- c(2,7,10)
clust_diss2(x,A,B)

[Package ClustOfVar version 1.2 Index]