View source: R/structurednessindices.R
c_faithfulness | R Documentation |
c-faithfulness calculates the c-faithfulness based on the index by Chen and Buja 2013 (M_adj) with equal input neigbourhoods
c_faithfulness(confs, obsdiss, k = 3, ...)
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() |
a numeric value; faithfulness
delts<-smacof::kinshipdelta
dis<-smacofSym(delts)$confdist
c_faithfulness(dis,obsdiss=delts,k=3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.