Linker Module

The linkage criterion determines the distance between sets of observations as a function of the pairwise distances between observations

Types

Type Description

LancWilliamsLinker

Signiture type for Lance and Williams Linker functions D(A u B,C) = alpa1 d(A,C) + alpa2 d(B,C) + beta d(A,B) + gamma |d(A,C) - d(BC))|

Functions and values

Function or value Description

centroidLwLinker (arg1, arg2, arg3) dAB dAC dBC

Full Usage: centroidLwLinker (arg1, arg2, arg3) dAB dAC dBC

Parameters:
    arg0 : int
    arg1 : int
    arg2 : int
    dAB : float -
    dAC : float -
    dBC : float -

Returns: float

Centroid linkage criterion (UPGMA)
Calculates the
d(A u B, C)

arg0 : int
arg1 : int
arg2 : int
dAB : float

dAC : float

dBC : float

Returns: float

Example

completeLwLinker (arg1, arg2, arg3) dAB dAC dBC

Full Usage: completeLwLinker (arg1, arg2, arg3) dAB dAC dBC

Parameters:
    arg0 : int
    arg1 : int
    arg2 : int
    dAB : float -
    dAC : float -
    dBC : float -

Returns: float

Complete linkage criterion
Calculates the
d(A u B, C)

arg0 : int
arg1 : int
arg2 : int
dAB : float

dAC : float

dBC : float

Returns: float

Example

medianLwLinker (arg1, arg2, arg3) dAB dAC dBC

Full Usage: medianLwLinker (arg1, arg2, arg3) dAB dAC dBC

Parameters:
    arg0 : int
    arg1 : int
    arg2 : int
    dAB : float -
    dAC : float -
    dBC : float -

Returns: float

Median linkage criterion
Calculates the
d(A u B, C)

arg0 : int
arg1 : int
arg2 : int
dAB : float

dAC : float

dBC : float

Returns: float

Example

singleLwLinker (arg1, arg2, arg3) dAB dAC dBC

Full Usage: singleLwLinker (arg1, arg2, arg3) dAB dAC dBC

Parameters:
    arg0 : int
    arg1 : int
    arg2 : int
    dAB : float -
    dAC : float -
    dBC : float -

Returns: float

Single linkage criterion
Calculates the minimal distance between all elements of a cluster
d(A u B, C)

arg0 : int
arg1 : int
arg2 : int
dAB : float

dAC : float

dBC : float

Returns: float

Example

upgmaLwLinker (arg1, arg2, arg3) dAB dAC dBC

Full Usage: upgmaLwLinker (arg1, arg2, arg3) dAB dAC dBC

Parameters:
    arg0 : int
    arg1 : int
    arg2 : int
    dAB : float -
    dAC : float -
    dBC : float -

Returns: float

Unweighted Group Average linkage criterion (UPGMA)
Calculates the
d(A u B, C)

arg0 : int
arg1 : int
arg2 : int
dAB : float

dAC : float

dBC : float

Returns: float

Example

wardLwLinker (arg1, arg2, arg3) dAB dAC dBC

Full Usage: wardLwLinker (arg1, arg2, arg3) dAB dAC dBC

Parameters:
    arg0 : int
    arg1 : int
    arg2 : int
    dAB : float -
    dAC : float -
    dBC : float -

Returns: float

Ward linkage criterion (UPGMA)
Calculates the
d(A u B, C)

arg0 : int
arg1 : int
arg2 : int
dAB : float

dAC : float

dBC : float

Returns: float

Example

weightedGroupAverageLwLinker (arg1, arg2, arg3) dAB dAC dBC

Full Usage: weightedGroupAverageLwLinker (arg1, arg2, arg3) dAB dAC dBC

Parameters:
    arg0 : int
    arg1 : int
    arg2 : int
    dAB : float -
    dAC : float -
    dBC : float -

Returns: float

Weighted Group Average linkage criterion
Calculates the
d(A u B, C)

arg0 : int
arg1 : int
arg2 : int
dAB : float

dAC : float

dBC : float

Returns: float

Example