Hierarchical clustering methods require a proximity (dissimilarity) matrix instead of a similarity matrix as
an entry for the analysis; therefore, dissimilarity D
is computed from similarity S
according the equation
1/S-1
. After this transformation, it may
happen that some values in a proximity matrix get the value -Inf
. Therefore, the following adjustment is applied:
max(prox)+1
, where prox
is a proximity matrix.
The use and evaluation of clustering with this measure can be found e.g. in (Sulc, 2015).
lin1(data)
n x n
, where n
is the number of objects in original data. The matrix contains proximities
between all pairs of objects. It can be used in hierarchical cluster analyses (HCA), e.g. in agnes
.eskin
,
good1
,
good2
,
good3
,
good4
,
iof
,
lin
,
morlini
,
of
,
sm
.#sample data
data(data20)
# Creation of proximity matrix
prox_lin1 <- lin1(data20)
Run the code above in your browser using DataLab