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

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

[复制链接]
发表于 2012-9-30 11:02:40 | 显示全部楼层 |阅读模式
stresscent(sna)
stresscent()所属R语言包:sna

                                         Compute the Stress Centrality Scores of Network Positions
                                         计算的网络位置的应力掌成绩

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

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

stresscent takes one or more graphs (dat) and returns the stress centralities of positions (selected by nodes) within the graphs indicated by g.  Depending on the specified mode, stress on directed or undirected geodesics will be returned; this function is compatible with centralization, and will return the theoretical maximum absolute deviation (from maximum) conditional on size (which is used by centralization to normalize the observed centralization score).
stresscent需要一个或多个图形(dat)的返回应力的位置(选择nodes)在图形的中心性表示g。根据指定的模式,注重向或无向测地线,将返回此功能是兼容centralization,将返回的理论最大绝对偏差(最大)有条件的大小(它是由<X >标准化集中观察到的得分)。


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


stresscent(dat, g=1, nodes=NULL, gmode="digraph",
    diag=FALSE, tmaxdev=FALSE, cmode="directed",
    geodist.precomp=NULL, rescale=FALSE, ignore.eval=TRUE)



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

参数:dat
one or more input graphs.
一个或多个输入图表。


参数:g
Integer indicating the index of the graph for which centralities are to be calculated (or a vector thereof).  By default, g==1.
整数,指示其中中心性计为(或它们的向量)的曲线图的索引。默认情况下,g==1。


参数:nodes
list indicating which nodes are to be included in the calculation.  By default, all nodes are included.
列出指示哪些节点要被包括在计算中。默认情况下,包括所有的节点都。


参数:gmode
string indicating the type of graph being evaluated.  "digraph" indicates that edges should be interpreted as directed; "graph" indicates that edges are undirected.  gmode is set to "digraph" by default.
的图表类型的字符串,表示正在评估中。 "digraph"表示的边缘应被解释为指示;"graph"表明边缘是无向的。 gmode默认情况下被设置成"digraph"。


参数:diag
boolean indicating whether or not the diagonal should be treated as valid data.  Set this true if and only if the data can contain loops.  diag is FALSE by default.
布尔值,表示是否对角线应被视为有效的数据。设置这是真的,当且仅当数据可以包含循环。 diag是FALSE默认情况下。


参数:tmaxdev
boolean indicating whether or not the theoretical maximum absolute deviation from the maximum nodal centrality should be returned.  By default, tmaxdev==FALSE.
布尔值,表示是否从最大的节点的中心性的理论最大绝对偏差应返回。默认情况下,tmaxdev==FALSE。


参数:cmode
string indicating the type of betweenness centrality being computed (directed or undirected geodesics).
字符串表示的类型的中介中心计算(向或无向测地线)。


参数:geodist.precomp
a geodist object precomputed for the graph to be analyzed (optional).  
geodist对象的预计算的图形进行分析(可选)。


参数:rescale
if true, centrality scores are rescaled such that they sum to 1.
如果为true,中心的分数重新调整,他们总结到1。


参数:ignore.eval
logical; should edge values be ignored when calculating density?
逻辑,边缘值计算密度时被忽略吗?


Details

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

The stress of a vertex, v, is given by
一个顶点,v,应力由下式给出

C_S(v) = sum( g_ivj, i,j: i!=j,i!=v,j!=v)</i>
C_S(V)=的总和(g_ivj,I,J:我!= j时,我!= V,J = V)</ I>

where g_ijk is the number of geodesics from i to k through j.  Conceptually, high-stress vertices lie on a large number of shortest paths between other vertices; they can thus be thought of as &ldquo;bridges&rdquo; or &ldquo;boundary spanners.&rdquo;  Compare this with betweenness, which weights shortest paths by the inverse of their redundancy.
g_ijk是从i到k到j的测地线。从概念上讲,高压力的顶点趴在大量的其他顶点之间的最短路径,因此他们可以被认为是“桥梁”或“边界扳手。”与此相比,betweenness,其权值最短路径由逆它们的冗余。


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

A vector, matrix, or list containing the centrality scores (depending on the number and size of the input graphs).
含有的中心得分(取决于上的输入图形的数量和大小)的向量,矩阵,或列表。


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

Judicious use of geodist.precomp can save a great deal of time when computing multiple path-based indices on the same network.
明智地使用geodist.precomp计算时,可以节省大量的时间在同一网络上的多个路径为基础的指数。


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


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



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

<h3>See Also</h3>

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


g&lt;-rgraph(10)     #Draw a random graph with 10 members[绘制一个随机的10名成员组成的图,]
stresscent(g)     #Compute stress scores[计算压力分数]

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-7 21:45 , Processed in 0.057403 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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