gliop(sna)
gliop()所属R语言包:sna
Return a Binary Operation on GLI Values Computed on Two Graphs
GLI值返回一个二元运算两个图形计算
译者:生物统计家园网 机器人LoveR
描述----------Description----------
gliop is a wrapper which allows for an arbitrary binary operation on GLIs to be treated as a single call. This is particularly useful for test routines such as cugtest and qaptest.
gliop是一个包装,它允许任意的二进制操作被视为一个单一的通话GLIS。这是特别有用的测试程序,如cugtest和qaptest。
用法----------Usage----------
gliop(dat, GFUN, OP="-", g1=1, g2=2, ...)
参数----------Arguments----------
参数:dat
a collection of graphs.
图表的集合。
参数:GFUN
a function taking single graphs as input.
单图作为输入的函数。
参数:OP
the operator to use on the output of GFUN.
操作员使用输出GFUN。
参数:g1
the index of the first input graph.
第一输入图的索引。
参数:g2
the index of the second input graph.
第二输入图的索引。
参数:...
Additional arguments to GFUN
额外的参数GFUN
Details
详细信息----------Details----------
gliop operates by evaluating GFUN on the graphs indexed by g1 and g2 and returning the result of OP as applied to the GFUN output.
gliop评估GFUN上的图表索引g1和g2和返回的结果OP适用于GFUN输出。
值----------Value----------
OP(GFUN(dat[g1, , ],...),GFUN(dat[g2, , ],...))
OP(GFUN(dat[g1, , ],...),GFUN(dat[g2, , ],...))
注意----------Note----------
If the output of GFUN is not sufficiently well-behaved, undefined behavior may occur. Common sense is advised.
GFUN如果输出不够乖巧的,不确定的行为可能发生。建议常识。
(作者)----------Author(s)----------
Carter T. Butts <a href="mailto:buttsc@uci.edu">buttsc@uci.edu</a>
参考文献----------References----------
<h3>See Also</h3>
实例----------Examples----------
#Draw two random graphs[绘制两个随机图]
g<-rgraph(10,2,tprob=c(0.2,0.5))
#What is their difference in density?[密度,它们的区别是什么?]
gliop(g,gden,"-",1,2)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|