hclustSO: Adapted hierarchical clustering of modal multi valued modal...

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/clamix12_05.R

Description

Function to compute adapted hierarchical clustering for modal multi valued modal symbolic data. Data must be saved in a symData object.

Usage

1
hclustSO(dataset,type = "d1")

Arguments

dataset

symData object

type

switch describing dissimilarity measure used "d1" to "d6" or "d1w" (calculating with frequency distributions "fDist") (for measures see Table 1 in reference article below)

Value

An object of class hclust which describes the tree produced by the clustering process. The object is a list (see hclust) and additional component:

leaders

A vector of symObjects that represent leaders obtained during merging of clusters

Author(s)

Vladimir Batagelj

References

V. Batagelj, N. Kejzar, and S. Korenjak-Cerne. Clustering of Modal Valued Symbolic Data. ArXiv e-prints, 1507.06683, July 2015.

See Also

leaderSO, create.symData, hclust, print.symObject

Examples

1
2
3
4
5
6
7
data(popul06f)
data(popul06m)
datalist <- list("M"=popul06f,"F"=popul06m)
dataset <- create.symData(datalist,"pDist")
res2006 <- hclustSO(dataset,type="d1") # "d1w" can be used for dataset with "fDist"
plot(res2006,cex=0.2)
rect.hclust(res2006,k=4)

clamix documentation built on May 2, 2019, 4:51 p.m.