diag.remove(sna)
diag.remove()所属R语言包:sna
Remove the Diagonals of Adjacency Matrices in a Graph Stack
在图形堆栈中删除的邻接矩阵的对角化
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Returns the input graphs, with the diagonal entries removed/replaced as indicated.
返回输入图的对角线条目删除/更换。
用法----------Usage----------
diag.remove(dat, remove.val=NA)
参数----------Arguments----------
参数:dat
one or more graphs.
一个或多个图形。
参数:remove.val
the value with which to replace the existing diagonals
值,以取代现有的对角线
Details
详细信息----------Details----------
diag.remove is simply a convenient way to apply diag to an entire collection of adjacency matrices/network objects at once.
diag.remove仅仅是一个方便的方法适用于diag到整个集合,的邻接矩阵/ network对象,在一次。
值----------Value----------
The updated graphs.
更新的图形。
(作者)----------Author(s)----------
Carter T. Butts <a href="mailto:buttsc@uci.edu">buttsc@uci.edu</a>
参见----------See Also----------
diag, upper.tri.remove, lower.tri.remove
diag,upper.tri.remove,lower.tri.remove
实例----------Examples----------
#Generate a random graph stack[生成一个随机的图形堆栈]
g<-rgraph(3,5)
#Remove the diagonals[删除的对角线]
g<-diag.remove(g)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|