gclust.centralgraph(sna)
gclust.centralgraph()所属R语言包:sna
Get Central Graphs Associated with Graph Clusters
中央关联的图形与图表聚类
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Calculates central graphs associated with particular graph clusters (as indicated by the k partition of h).
计算中央与特定的图形聚类(kh)分区图。
用法----------Usage----------
gclust.centralgraph(h, k, dat, ...)
参数----------Arguments----------
参数:h
an hclust object, based on a graph stack in dat.
hclust对象,基于一个图形堆栈中dat。
参数:k
the number of groups to evaluate.
的组的数目来评价。
参数:dat
one or more graphs (on which the clustering was performed).
一个或多个图形(在其上进行的聚类)。
参数:...
additional arguments to centralgraph.
附加参数到centralgraph。
Details
详细信息----------Details----------
gclust.centralgraph uses cutree to cut the hierarchical clustering in h into k groups. centralgraph is then called on each cluster, and the results are returned as a graph stack. This is a useful tool for interpreting clusters of (labeled) graphs, with the resulting central graphs being subsequently analyzed using standard SNA methods.
gclust.centralgraph使用cutree切h到k组中的层次聚类。 centralgraph然后要求每个聚类,返回的结果采用图形堆栈。解释聚类(标记)图,导致其后的中央图表分析使用标准的SNA方法,这是一个非常有用的工具。
值----------Value----------
An array containing the stack of central graph adjacency matrices
一个数组,包含中央图的邻接矩阵堆栈
(作者)----------Author(s)----------
Carter T. Butts <a href="mailto:buttsc@uci.edu">buttsc@uci.edu</a>
参考文献----------References----------
<h3>See Also</h3>
实例----------Examples----------
#Create some random graphs[创建一些随机图]
g<-rgraph(10,20,tprob=c(rbeta(10,15,2),rbeta(10,2,15)))
#Find the Hamming distances between them[寻找它们之间的海明距离]
g.h<-hdist(g)
#Cluster the graphs via their Hamming distances[聚类的图形,通过他们的海明距离]
g.c<-hclust(as.dist(g.h))
#Now find central graphs by cluster for a two cluster solution[现在发现中央聚类图形中的两个聚类解决方案]
g.cg<-gclust.centralgraph(g.c,2,g)
#Plot the central graphs[绘制中央图]
gplot(g.cg[1,,])
gplot(g.cg[2,,])
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|