anderberg | R Documentation |
The function calculates a dissimilarity matrix based on the AN similarity measure.
anderberg(data)
data |
A data.frame or a matrix with cases in rows and variables in columns. |
The Anderberg similarity measure was presented in (Anderberg, 1973). The measure assigns higher weights to infrequent matches and mismatches. It takes on values from zero to one. The minimum similarity is attained when there are no matches and vice versa, see (Borian et al., 2008).
The function returns an object of the class "dist".
Zdenek Sulc.
Contact: zdenek.sulc@vse.cz
Andergerg M.R. (1973). Cluster analysis for applications. Academic Press, New York.
Boriah S., Chandola V., Kumar V. (2008). Similarity measures for categorical data: A comparative evaluation.
In: Proceedings of the 8th SIAM International Conference on Data Mining, SIAM, p. 243-254.
burnaby
,
eskin
,
gambaryan
,
goodall1
,
goodall2
,
goodall3
,
goodall4
,
iof
,
lin
,
lin1
,
of
,
sm
,
smirnov
,
ve
,
vm
.
# sample data
data(data20)
# dissimilarity matrix calculation
prox.anderberg <- anderberg(data20)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.