hclustSO {clamix} | R Documentation |
Function to compute adapted hierarchical clustering for modal multi valued modal symbolic data. Data must be saved in a symData
object.
hclustSO(dataset,type = "d1")
dataset |
|
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) |
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 |
Vladimir Batagelj
V. Batagelj, N. Kejzar, and S. Korenjak-Cerne. Clustering of Modal Valued Symbolic Data. ArXiv e-prints, 1507.06683, July 2015.
leaderSO
, create.symData
, hclust
, print.symObject
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)