找回密码
 注册
查看: 389|回复: 0

R语言 sna包 equiv.clust()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 10:50:47 | 显示全部楼层 |阅读模式
equiv.clust(sna)
equiv.clust()所属R语言包:sna

                                         Find Clusters of Positions Based on an Equivalence Relation
                                         查找聚类的一个等价关系的基础上的位置

                                         译者:生物统计家园网 机器人LoveR

描述----------Description----------

equiv.clust uses a definition of approximate equivalence (equiv.fun) to form a hierarchical clustering of network positions.  Where dat consists of multiple relations, all specified relations are considered jointly in forming the equivalence clustering.
equiv.clust使用近似等价的定义(equiv.fun)以形成层次聚类的网络位置。其中dat由多个关系,所有指定的关系被认为是共同形成的等价聚类。


用法----------Usage----------


equiv.clust(dat, g=NULL, equiv.dist=NULL, equiv.fun="sedist",
   method="hamming", mode="digraph", diag=FALSE,
   cluster.method="complete", glabels=NULL, plabels=NULL, ...)



参数----------Arguments----------

参数:dat
one or more graphs.
一个或多个图形。


参数:g
the elements of dat to use in clustering the vertices; by default, all structures are used.
的元素dat使用聚类的顶点,默认情况下,所有结构都使用。


参数:equiv.dist
a matrix of distances, by which vertices should be clustered.  (Overrides equiv.fun.)
的矩阵的距离,通过该顶点应聚类。 (覆盖equiv.fun。)


参数:equiv.fun
the distance function to use in clustering vertices (defaults to sedist).
距离函数使用聚类顶点,(默认为sedist)。


参数:method
method parameter to be passed to equiv.fun.
method参数传递给equiv.fun。


参数:mode
“graph” or “digraph,” as appropriate.
“图”或“有向图”,为适当。


参数:diag
a boolean indicating whether or not matrix diagonals (loops) should be interpreted as useful data.
有用的数据应该被解释为一个布尔值,表示是否矩阵对角线(循环)。


参数:cluster.method
the hierarchical clustering method to use (see hclust).
层次聚类方法使用(见hclust“)。


参数:glabels
labels for the various graphs in dat.
在dat的各种图表的标签。


参数:plabels
labels for the vertices of dat.
标签顶点dat。


参数:...
additional arguments to equiv.dist.
附加参数到equiv.dist。


Details

详细信息----------Details----------

This routine is essentially a joint front-end to hclust and various positional distance functions, though it defaults to structural equivalence in particular.  Taking the specified graphs as input, equiv.clust computes the distances between all pairs of positions using equiv.fun (unless distances are supplied in equiv.dist), and then performs a cluster analysis of the result.  The return value is an object of class equiv.clust, for which various secondary analysis methods exist.
这个例程本质上是一个共同的前端hclust和各种位置的距离函数,虽然它默认为结构等价特别。以指定的图形作为输入,equiv.clust计算之间的距离位置使用的所有对equiv.fun(除非距离提供equiv.dist),然后进行聚类分析的结果。返回值是一个对象类equiv.clust,的各种二次分析的方法存在。


值----------Value----------

An object of class equiv.clust
对象的类equiv.clust


注意----------Note----------

See sedist for an example of a distance function compatible with equiv.clust.
见sedist的距离功能兼容equiv.clust的一个例子。


(作者)----------Author(s)----------


Carter T. Butts <a href="mailto:buttsc@uci.edu">buttsc@uci.edu</a>



参考文献----------References----------

Breiger, R.L.; Boorman, S.A.; and Arabie, P.  (1975).  &ldquo;An Algorithm for Clustering Relational Data with Applications to Social Network Analysis and Comparison with Multidimensional Scaling.&rdquo;  Journal of Mathematical Psychology, 12, 328-383.
Burt, R.S.  (1976).  &ldquoositions in Networks.&rdquo;  Social Forces, 55, 93-122.


参见----------See Also----------

sedist, blockmodel
sedist,blockmodel


实例----------Examples----------



#Create a random graph with _some_ edge structure[创建一个随机的图形_some_边缘结构]
g.p&lt;-sapply(runif(20,0,1),rep,20)  #Create a matrix of edge [创建一个矩阵的边缘]
                                   #probabilities[概率]
g&lt;-rgraph(20,tprob=g.p)            #Draw from a Bernoulli graph [从伯努利图绘制]
                                   #distribution[分配]

#Cluster based on structural equivalence[聚类基于结构等价]
eq<-equiv.clust(g)
plot(eq)

转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。


注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|生物统计家园 网站价格

GMT+8, 2025-6-6 13:24 , Processed in 0.023568 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表