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

R语言 sna包 upper.tri.remove()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 11:04:16 | 显示全部楼层 |阅读模式
upper.tri.remove(sna)
upper.tri.remove()所属R语言包:sna

                                         Remove the Upper Triangles of Adjacency Matrices in a Graph Stack
                                         在图形堆栈中删除上三角形的邻接矩阵

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

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

Returns the input graph stack, with the upper triangle entries removed/replaced as indicated.
返回的输入图堆,与拆卸/替换所示的上三角形条目。


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


upper.tri.remove(dat, remove.val=NA)



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

参数:dat
a graph or graph stack.
图形或图形堆栈。


参数:remove.val
the value with which to replace the existing upper triangles.
值,以取代现有的上三角形。


Details

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

upper.tri.remove is simply a convenient way to apply g[upper.tri(g)]<-remove.val to an entire stack of adjacency matrices at once.
upper.tri.remove是一个简单方便的方式申请g[upper.tri(g)]<-remove.val整个堆栈的邻接矩阵在一次。


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

The updated graph stack.
更新的图形堆栈。


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


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



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

upper.tri, lower.tri.remove, diag.remove
upper.tri,lower.tri.remove,diag.remove


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


#Generate a random graph stack[生成一个随机的图形堆栈]
g<-rgraph(3,5)
#Remove the upper triangles[拆下上部三角形]
g<-upper.tri.remove(g)

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


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

使用道具 举报

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

本版积分规则

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

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

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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