clust_diss2: Dissimilarity between two clusters of variables

Description Usage Arguments Value Examples

View source: R/clust_diss2.R

Description

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

Usage

1
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

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

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