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

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

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

                                         Draw Dyad Census-Conditioned Random Graphs
                                         绘制化合物的普查随机图

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

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

rguman generates random draws from a dyad census-conditioned uniform random graph distribution.
rguman生成随机抽取的二分体人口普查空调,均匀分布的随机图分布。


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


rguman(n, nv, mut = 0.25, asym = 0.5, null = 0.25,
    method = c("probability", "exact"), return.as.edgelist = FALSE)



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

参数:n
the number of graphs to generate.
的图形的数目来生成。


参数:nv
the size of the vertex set (|V(G)|) for the random graphs.
的顶点集合的大小(|V(G)|)的随机图形。


参数:mut
if method=="probability", the probability of obtaining a mutual dyad; otherwise, the number of mutual dyads.
如果method=="probability",取得相互对子的概率;否则,相互二价基的数目。


参数:asym
if method=="probability", the probability of obtaining an asymmetric dyad; otherwise, the number of asymmetric dyads.
如果method=="probability",得到不对称的对子的概率;否则,不对称的二价基的数目。


参数:null
if method=="probability", the probability of obtaining a null dyad; otherwise, the number of null dyads.
如果method=="probability",获得一个空的概率对子,否则,空二人组合的数量。


参数:method
the generation method to use.  "probability" results in a multinomial dyad distribution (conditional on the underlying rates), while "exact" results in a uniform draw conditional on the exact dyad distribution.
的生成的方法来使用。 "probability"结果对子分布在多项条件的基本税率,而"exact"有条件的确切对子分布在一个统一的抽奖结果。


参数:return.as.edgelist
logical; should the resulting graphs be returned in edgelist form?
逻辑,生成的图表在EdgeList,在该列表的形式返回?


Details

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

A simple generalization of the Erdos-Renyi family, the U|MAN distributions are uniform on the set of graphs, conditional on order (size) and the dyad census.  As with the E-R case, there are two U|MAN variants.  The first (corresponding to method=="probability") takes dyad states as independent multinomials with parameters m (for mutuals), a (for asymmetrics), and n (for nulls).  The resulting pmf is then
一个简单的概括,鄂尔多斯仁义家庭,U |的MAN分布均匀的一套图,有条件的顺序(大小)和对子人口普查的。与雌激素受体的情况下,有两个U |城域网变种。第一个(对应的method=="probability")独立多项式的对子状态与参数m(互助),a(为asymmetrics),和n(空值)。由此产生的PMF是

</i>
</ P>

The second U|MAN variant is selected by method=="exact", and places equal mass on all graphs having the specified (exact) dyad census.  The corresponding pmf is
第二个U | MAN变体选择method=="exact",并将质量相等的所有图形指定的(精确)对子人口普查。相应的PMF是

</i>
</ P>

U|MAN graphs provide a natural baseline model for networks which are constrained by size, density, and reciprocity.  In this way, they provide a bridge between edgewise models (e.g., the E-R family) and models with higher order dependence (e.g., the Markov graphs).
U |文图提供了一个天然的基线网络模型的大小,密度和互惠的限制。这样一来,他们之间的桥梁,沿边模式(例如,ER系列)和模式具有较高的依赖性(例如,马氏图)。


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

A matrix or array containing the drawn adjacency matrices
矩阵或数组,包含绘制的邻接矩阵


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

The famous mathematicians referenced in this man page now have misspelled names, due to R's difficulty with accent marks.  
现在这名男子页面中引用的著名数学家有拼写错误的名字,由于R的带重音符号的难度。


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


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



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

Holland, P.W. and Leinhardt, S.  (1976).  &ldquo;Local Structure in Social Networks.&rdquo;  In D. Heise (Ed.), Sociological Methodology, pp 1-45.  San Francisco: Jossey-Bass.
Wasserman, S. and Faust, K.  (1994).  Social Network Analysis: Methods and Applications.  Cambridge: Cambridge University Press.

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

rgraph, rgnm, dyad.census
rgraph,rgnm,dyad.census


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


#Show some examples of extreme U|MAN graphs[显示的一些例子极端ü| MAN图]
gplot(rguman(1,10,mut=45,asym=0,null=0,method="exact")) #Clique[集团]
gplot(rguman(1,10,mut=0,asym=45,null=0,method="exact")) #Tournament[比赛]
gplot(rguman(1,10,mut=0,asym=0,null=45,method="exact")) #Empty[空的]

#Draw a sample of multinomial U|MAN graphs[抽取样本的多项ü| MAN图表]
g<-rguman(5,10,mut=0.15,asym=0.05,null=0.8)

#Examine the dyad census[检查对子人口普查]
dyad.census(g)

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-7 08:16 , Processed in 0.021021 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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