coef.hclust(cluster)
coef.hclust()所属R语言包:cluster
Agglomerative Coefficient for 'hclust' Objects
凝聚系数为“hclust”对象
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Computes the “agglomerative coefficient”, measuring the clustering structure of the dataset.
计算“凝聚系数”,测量数据集的聚类结构。
For each observation i, denote by m(i) its dissimilarity to the first cluster it is merged with, divided by the dissimilarity of the merger in the final step of the algorithm. The agglomerative coefficient is the average of all 1 - m(i). It can also be seen as the average width (or the percentage filled) of the banner plot.
我为每个观察,记m(i)其相异的第一簇合并,除以在该算法的最后一步合并的不同。凝聚系数是平均所有的1 - m(i)。它也可以被看作是平均宽度(或填充的百分比)的旗帜图。
Because it grows with the number of observations, this measure should not be used to compare datasets of very different sizes.
因为它与成长的若干意见,这不应该被用来衡量比较非常不同大小的数据集。
用法----------Usage----------
coef.hclust(object, ...)
## S3 method for class 'hclust'
coef(object, ...)
## S3 method for class 'twins'
coef(object, ...)
参数----------Arguments----------
参数:object
an object of class "hclust" or "twins", i.e., typically the result of hclust(.),agnes(.), or diana(.). Since coef.hclust only uses object$heights, and object$merge, object can be any list-like object with appropriate merge and heights components.
类对象"hclust"或"twins",即通常的结果hclust(.),agnes(.)或diana(.)。自coef.hclust只使用object$heights,object$merge,object可以是任何合适的merge和heights组件列表的对象。
参数:...
currently unused potential further arguments
目前未使用的潜力进一步论据
值----------Value----------
a number specifying the agglomerative (or divisive for diana objects) coefficient as defined by Kaufman and Rousseeuw, see agnes.object $ ac or diana.object $ dc.
指定凝聚(或分裂diana对象)的系数由考夫曼和Rousseeuw定义一个数字,看到agnes.object $ ac或diana.object $ dc。
举例----------Examples----------
data(agriculture)
aa <- agnes(agriculture)
coef(aa) # really just extracts aa$ac[只是提取AA $ AC]
coef(as.hclust(aa))# recomputes[重新计算]
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|