c_faithfulness: c-faithfulness calculates the c-faithfulness based on the...

View source: R/structurednessindices.R

c_faithfulnessR Documentation

c-faithfulness calculates the c-faithfulness based on the index by Chen and Buja 2013 (M_adj) with equal input neigbourhoods

Description

c-faithfulness calculates the c-faithfulness based on the index by Chen and Buja 2013 (M_adj) with equal input neigbourhoods

Usage

c_faithfulness(confs, obsdiss, k = 3, ...)

Arguments

confs

a numeric matrix or a dist object

obsdiss

a symmetric numeric matrix or a dist object. Must be supplied.

k

the number of nearest neighbours to be looked at

...

additional arguments passed to dist()

Value

a numeric value; faithfulness

Examples

delts<-smacof::kinshipdelta
dis<-smacofSym(delts)$confdist
c_faithfulness(dis,obsdiss=delts,k=3)

stops documentation built on July 7, 2025, 3:01 p.m.