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

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

[复制链接]
发表于 2012-9-30 11:00:50 | 显示全部楼层 |阅读模式
read.nos(sna)
read.nos()所属R语言包:sna

                                         Read (N)eo-(O)rg(S)tat Input Files
                                         阅读(N)EO-(O)达RG(S)输入文件

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

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

Reads an input file in NOS format, returning the result as a graph set.
读取一个输入文件在NOS的格式,返回的结果的曲线图集。


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


read.nos(file, return.as.edgelist = FALSE)



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

参数:file
the file to be imported
要导入的文件


参数:return.as.edgelist
logical; should the resulting graphs be returned in sna edgelist format?
逻辑产生的图形返回在SNA EdgeList都格式?


Details

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

NOS format consists of three header lines, followed by a whitespace delimited stack of raw adjacency matrices; the format is not particularly elegant, but turns up in certain legacy applications (mostly at CMU).  read.nos provides a quick and dirty way of reading in these files, without the headache of messing with read.table settings.
NOS格式由三个标题行,然后由一个空格分隔的原料邻接矩阵堆栈的格式是不是特别优雅,但在某些旧的应用程序(主要是在债务工具中央结算系统)。 read.nos提供了一个快速和肮脏的方式阅读这些文件中,没有头痛的read.table设置搞乱。

The content of the NOS format is as follows:
的NOS格式的内容如下:

<m>
<m>个

<n> <o>
<n>个<O>

<kr1> <kr2> ... <krn> <kc1> <kc2> ... <kcn>
<kr1> <kr2> ... <krn> <kc1> <kc2> ... <kcn>

<a111> <a112> ... <a11o>
<a111> <a112> ... <a11o>

<a121> <a122> ... <a12o>
<a121> <a122> ... <a12o>

...
...

<a1n1> <a1n2> ... <a1no>
<a1n1> <a1n2> ... <a1no>

<a211> <a212> ... <a21o>
<a211> <a212> ... <a21o>

...
...

<a2n1> <a2n2> ... <a2no>
<a2n1> <a2n2> ... <a2no>

...
...

<amn1> <amn2> ... <amno>
<amn1> <amn2> ... <amno>

where <abcd> is understood to be the value of the c->d edge in the bth graph of the file.  (As one might expect, m, n, and o are the numbers of graphs (matrices), rows, and columns for the data, respectively.)  The "k" line contains a list of row and column "colors", categorical variables associated with each row and column, respectively.  Although originally intended to communicate exchangability information, these can be used for other purposes (though there are easier ways to deal with attribute data these days).
其中<ABCD>被理解为是的值的C-> D的BTH的文件图边缘。 (正如人们所预料,M,N和O图(矩阵),行,列的数据,分别是数字的)的“K”线包含了一系列行和列的“颜色”,分类变量分别与每个行和列相关联。尽管最初是沟通可交换信息,这些都可以被用于其他目的(虽然有更简单的方式来处理与属性数据,这些天)。


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

The imported graph set (in adjacency array or edgelist form).
导入图形集(在邻接的数组或EdgeList都表)。


注意----------Note----------

read.nos currently ignores the coloring information.
read.nos忽略的着色信息。


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


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



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

write.nos, scan, read.table
write.nos,scan,read.table

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-6 13:38 , Processed in 0.023716 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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