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

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

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

                                         Univariate Conditional Uniform Graph Tests
                                         单因素统一走势图测试

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

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

cug.test takes an input network and conducts a conditional uniform graph (CUG) test of the statistic in FUN, using the conditioning statistics in cmode.  The resulting test object has custom print and plot methods.
cug.test需要输入网络,并进行有条件的均匀图(CUG)测试的统计信息在FUN,使用调理统计,在cmode。产生的测试对象有自定义打印和绘图的方法。


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


cug.test(dat, FUN, mode = c("digraph", "graph"), cmode = c("size",
    "edges", "dyad.census"), diag = FALSE, reps = 1000,
    ignore.eval = TRUE, FUN.args = list())



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

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


参数:FUN
the function generating the test statistic; note that this must take a graph as its first argument, and return a single numerical value.
生成测试统计的功能,请注意,这必须采取图形作为第一个参数,并返回一个单一的数值。


参数:mode
graph if dat is an undirected graph, else digraph.
graph如果dat是一个无向图,否则digraph。


参数:cmode
string indicating the type of conditioning to be applied.
字符串,用于指示要应用的类型的空调。


参数:diag
logical; should self-ties be treated as valid data?
合乎逻辑;自应被视为有效的数据呢?


参数:reps
number of Monte Carlo replications to use.
数蒙特卡罗重复使用。


参数:ignore.eval
logical; should edge values be ignored?  (Note: TRUE is usually more efficient.)
逻辑;边缘值应该被忽略? (注:TRUE通常是更有效的。)


参数:FUN.args
a list containing any additional arguments to FUN.
一个列表,其中包含任何额外的参数FUN。


Details

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

cug.test is an improved version of cugtest, for use only with univariate CUG hypotheses.  Depending on cmode, conditioning on the realized size, edge count (or exact edge value distribution), or dyad census (or dyad value distribution) can be selected.  Edges are treated as unvalued unless ignore.eval=FALSE; since the latter setting is less efficient for sparse graphs, it should be used only when necessary.
cug.test是一个改进版的cugtest,只使用单因素CUG假设。根据cmode,实现了规模上的空调,边数(精确的边缘值分布),或二价人口普查(或二价值分布),可以选择。边缘被视为不定值,除非ignore.eval=FALSE;因为后者的设置是效率较低,对于稀疏图,它应该使用仅在必要时。

A brief summary of the theory and goals of conditional uniform graph testing can be found in the reference below.  See also cugtest for a somewhat informal description.
简要总结的理论和目标,有条件的统一图形测试中可以找到以下参考。 cugtest有些非正式的描述。


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

An object of class cug.test.
对象的类cug.test。


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



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




参考文献----------References----------

Butts, Carter T.  (2008).  &ldquo;Social Networks: A Methodological Introduction.&rdquo;  Asian Journal of Social Psychology, 11(1), 13&ndash;41.

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

cugtest
cugtest


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


#Draw a highly reciprocal network[绘制一个高度的互易网络]
g<-rguman(1,15,mut=0.25,asym=0.05,null=0.7)

#Test transitivity against size, density, and the dyad census[对大小,密度和对子人口普查传递性测试]
cug.test(g,gtrans,cmode="size")
cug.test(g,gtrans,cmode="edges")
cug.test(g,gtrans,cmode="dyad.census")

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-8 04:42 , Processed in 0.024656 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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