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

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

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

                                         Convert an Observed Event Matrix to a Dichotomous matrix
                                         简单的二元矩阵的矩阵转换所观察到的事件

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

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

Given one or more valued adjacency matrices (possibly derived from observed interaction “events”), event2dichot returns dichotomized equivalents.
由于一个或多个有价值的邻接矩阵(可能是从观察到的相互作用“事件”),event2dichot返回二分等值。


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


event2dichot(m, method="quantile", thresh=0.5, leq=FALSE)



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

参数:m
one or more (valued) input graphs.
一个或多个(值)输入图。


参数:method
one of “quantile,” “rquantile,” “cquantile,” “mean,” “rmean,” “cmean,” “absolute,” “rank,” “rrank,” or “crank”.  
的“分量”,“rquantile”,“cquantile”,“是什么意思,”“rmean,”cmean“,”绝对“,”等级,“ “rrank,”或“曲柄”。


参数:thresh
dichotomization thresholds for ranks or quantiles.
职级或位数的二分法阈值。


参数:leq
boolean indicating whether values less than or equal to the threshold should be taken as existing edges; the alternative is to use values strictly greater than the threshold.
布尔值,表示的值是否小于或等于所述阈值应该被视为现有的边缘;的替代方法是使用严格大于该阈值的值。


Details

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

The methods used for choosing dichotomization thresholds are as follows:
用于选择二分法阈值的方法如下:

<ol> quantile: specified quantile over the distribution of all edge values
所有边缘值的分布<OL>位数:指定的位数




rquantile: specified quantile by row
rquantile:指定位数的行




cquantile: specified quantile by column
cquantile:指定的位数列




mean: grand mean
意思是:总平均




rmean: row mean
rmean:行平均




cmean: column mean
cmean:列的意思




absolute: the value of thresh itself
绝对的:thresh本身的价值




rank: specified rank over the distribution of all edge values
指定的排名:排名所有边缘值的分布




rrank: specified rank by row
rrank:指定的行排名




crank: specified rank by column </ol>
曲轴:指定的列级</ OL>

Note that when a quantile, rank, or value is said to be &ldquo;specified,&rdquo; this refers to the value of thresh.  
需要注意的是,时,分位数,等级,或价值被认为是“指定”,指的价值thresh。


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

The dichotomized data matrix (or matrices)
二分数据矩阵(或矩阵)


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


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



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

Wasserman, S. and Faust, K.  (1994).  Social Network Analysis: Methods and Applications.  Cambridge: Cambridge University Press.

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


#Draw a matrix of normal values[绘制一个矩阵的正常值]
n<-matrix(rnorm(25),nrow=5,ncol=5)

#Dichotomize by the mean value[二分由平均值]
event2dichot(n,"mean")

#Dichotomize by the 0.95 quantile[对分由0.95分位数]
event2dichot(n,"quantile",0.95)


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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-8 06:06 , Processed in 0.032080 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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