R语言中利用hclust实现层次聚类

您所在的位置:网站首页 R语言的merge函数 R语言中利用hclust实现层次聚类

R语言中利用hclust实现层次聚类

2024-07-11 22:43| 来源: 网络整理| 查看: 265

merge an n-1 by 2 matrix. Row i of merge describes the merging of clusters at step i of the clustering. If an element j in the row is negative, then observation -j was merged at this stage. If j is positive then the merge was with the cluster formed at the (earlier) stage j of the algorithm. Thus negative entries in merge indicate agglomerations of singletons, and positive entries indicate agglomerations of non-singletons.

height a set of n-1 real values (non-decreasing for ultrametric trees). The clustering height: that is, the value of the criterion associated with the clustering method for the particular agglomeration.

order a vector giving the permutation of the original observations suitable for plotting, in the sense that a cluster plot using this ordering and matrix merge will not have crossings of the branches.

labels labels for each of the objects being clustered.

call the call which produced the result.

method the cluster method that has been used.

disthod the distance that has been used to create d (only returned if the distance object has a “method” attribute).



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3