specContrasts {clamix} | R Documentation |
Computes specificities for a variable comparing two cluster leaders and contrasts (partial importances) of the second cluster leader towards first for each variable component.
specContrasts(rs,rc,j)
rs |
first cluster leader in the form of |
rc |
second cluster leader in the form of |
j |
an index (or a name) of a variable. |
A list of
specificity |
A value. |
contrasts |
A vector of components of NaN, Inf (see reference) or a value x where |x| > 1. |
Natasa Kejzar
Batagelj,~V., Kejzar,~N. and Korenjak-Cerne,~S., Clustering of Modal Valued Data, a chapter in Analysis of Distributional Data (Ed. Brito,~P.), (submitted)
hclust
, hclustSO
, leaderSO
, print.symObject
, empty.symObject
data(TIMSSSlo) tsdata = create.symData(TIMSSSlo) dendro <- hclustSO(tsdata) rs = dendro$leaders[[nrow(dendro$merge)]] # the whole dataset rc = dendro$leaders[[84]] # first cluster from reference chapter specContrasts(rs,rc,1) # first variable ("MT2GTAUT")