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

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

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

                                         Add Isolates to a Graph
                                         添加到图表的分离

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

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

Adds n isolates to the graph (or graphs) in dat.
添加n隔离图(图)dat。


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


add.isolates(dat, n, return.as.edgelist = FALSE)



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

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


参数:n
the number of isolates to add.



参数:return.as.edgelist
logical; should the input graph be returned as an edgelist (rather than an adjacency matrix)?
逻辑输入图EdgeList,在该列表中(而不是邻接矩阵)返回吗?


Details

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

If dat contains more than one graph, the n isolates are added to each member of dat.
如果dat包含一个以上的图,n分离添加到每个成员的dat。


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

The updated graph(s).
更新后的曲线图()。


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

Isolate addition is particularly useful when computing structural distances between graphs of different orders; see the above reference for details.
隔离除了计算结构之间的距离不同的顺序的图形时,是特别有用的,有关详细信息,请参见上述参考文献。


(作者)----------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,5)                #Produce some random graphs[产生一些随机图]

dim(g)                        #Get the dimensions of g[的尺寸克]

g&lt;-add.isolates(g,2)        #Add 2 isolates to each graph in g[在G中每个图形添加2株]

dim(g)                        #Now examine g[现在,检查克]
g


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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-7 19:39 , Processed in 0.038961 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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