c_hierarchy: c-hierarchy captures how well a partition/ultrametric...

View source: R/structurednessindices.R

c_hierarchyR Documentation

c-hierarchy captures how well a partition/ultrametric (obtained by hclust) explains the configuration distances. Uses variance explained for euclidean distances and deviance explained for everything else.

Description

c-hierarchy captures how well a partition/ultrametric (obtained by hclust) explains the configuration distances. Uses variance explained for euclidean distances and deviance explained for everything else.

Usage

c_hierarchy(confs, p = 2, agglmethod = "complete")

Arguments

confs

a numeric matrix

p

the parameter of the Minokwski distances (p=2 euclidean and p=1 is manhattan)

agglmethod

the method used for creating the clustering, see hclust.

Value

a numeric value; hierarchy (see cl_validity)

Examples

delts<-smacof::kinshipdelta
conf<-smacofSym(delts)$conf
c_hierarchy(conf,p=2,agglmethod="single")

stops documentation built on Dec. 12, 2023, 3:02 a.m.