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