copheneticCorrelation: Cophenetic correlation coefficient

Description Usage Arguments Author(s) References Examples

View source: R/cophenetic-correlation.R

Description

Compute the cophenetic correlation coefficient of a kernel matrix, which is a measure of howfaithfully hierarchical clustering would preserve the pairwise distances between the original data points.

Usage

1
copheneticCorrelation(kernelMatrix)

Arguments

kernelMatrix

kernel matrix.

Author(s)

Alessandra Cabassi [email protected]

References

Sokal, R.R. and Rohlf, F.J., 1962. The comparison of dendrograms by objective methods. Taxon, 11(2), pp.33-40.

Examples

1
2
3
4
5
6
# Load kernel matrix
km <- as.matrix(read.csv(system.file("extdata",
"kernel-matrix1.csv", package = "klic"), row.names = 1))
# Compute cophenetic correlation
ccc <- copheneticCorrelation(km)
print(ccc)

acabassi/klic documentation built on May 7, 2019, 8:37 a.m.