sienaDataCreateFromSession(RSiena)
sienaDataCreateFromSession()所属R语言包:RSiena
Creates a Siena data object from a Siena session file
锡耶纳的数据对象创建一个从锡耶纳会议文件
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Reads in a Siena session from file or siena01Gui()
从文件中读取锡耶纳会议或siena01Gui()
用法----------Usage----------
sienaDataCreateFromSession(filename = NULL, session = NULL,
modelName = "Siena", edited = NULL, files = NULL,
getDocumentation=FALSE)
参数----------Arguments----------
参数:filename
Input session file
输入会话文件
参数:session
Input session (from siena01Gui)
输入会议(从siena01Gui)
参数:modelName
Character string of project name
项目名称的字符串
参数:edited
Boolean, indicates whether a file has been edited and therefore should not be re-read. Used internally by siena01Gui.
布尔值,指示文件是否已被编辑,因此不应该被重新读取。内部使用的siena01Gui。
参数:files
List of data files, used internally by siena01Gui
数据文件的列表,内部siena01Gui
参数:getDocumentation
Flag to allow documentation of internal functions, not for use by users.
标志以允许内部函数的文档,而不是用户的使用。
Details
详细信息----------Details----------
Allows creation of data objects of class "Siena" direct from data files rather than from the various Siena network and covariate objects. Is always called by siena01Gui but can also be used directly.
允许创建数据对象的类“锡耶纳”直接从数据文件,而不是从不同的锡耶纳网络和协变量的对象。可随时调用siena01Gui,但也可以直接使用。
The columns of the gui screen should have the format described below. If a session file is used for input, it should have columns with exactly the same names and in exactly the same order as those below with a row of column headings and no row numbers.
GUI屏幕的列应该有下面描述的格式。如果一个会话文件用于输入列,它应该有完全一样的名称和下面一排的列标题,并没有行号相同的顺序完全相同。
Group Used to identify the groups when using the multi-group option described in the Manual. Must not contain embedded blanks, and should be identical for all rows which
集团用于识别的群体在使用手册中描述的多组选项。必须不包含嵌入的空格,而应该是相同的所有行。
Name Network files or dyadic covariates should use the same name for each file of the set. Other files should have unique names, a list of
为每个文件设定的的名称网络文件或二元协变量应使用相同的名称。其他文件应该有独特的名称,列表
File Name in siena01Gui, usually entered by using a
在siena01Gui的文件名,通常是使用
Format Only relevant for networks or dyadic covariates. Can be matrix, a single Pajek network (.net) or a Siena network file (and edgelist with three or four columns: from, to, value, wave (optional)).
只格式化相关的网络或二进协变量。可以矩阵,单Paject网路分析的网络(NET)或锡耶纳网络文件(三个或四个列:从和EdgeList,,值,波(可选))。
Period(s) Only relevant for networks and dyadic covariates. All other files cover all the relevant periods. Indicates the order of the network and dyadic covariate files. Should range from 1 to n within each group. Enter multiple integers with spaces between for Siena network multi-wave files. Use the value 1 or blank for other files
周期(s)只有相关的网络和二元协变量。所有其他文件覆盖所有相关的期间。指示的网络和二进协变量文件的顺序。应各组内的从1到n的范围内。锡耶纳网络的多波文件之间用空格输入多个整数。使用值1或其他文件中的空白
ActorSet If you have more than one set of nodes, use this column to indicate which is relevant to each file. Should not contain
ActorSet如果你有一个以上的节点,使用此列,这是每个文件相关的。不应该包含
Type Indicate here what type of data the file contains. Options are "network", "behavior", "constant covariate", "changing covariate", "constant dyadic covariate", "changing dyadic covariate", "exogenous event".
类型指示文件中包含什么类型的数据。选项是“网络”,“行为”,“恒协”,“不断变化的协变量”,“恒二元协”,“改变二元协”,“外部事件”。
Selected Yes or No. Only files with Yes will be included in
选择“是”或“否”,只有文件是将被纳入
Missing Values Enter any values which indicate missingness, with
缺失值中输入任何的值表示missingness,
Nonzero Codes Enter any values which indicate ties, with spaces
非零码输入任何值,这表明关系,用空格
NbrOfActors For Siena network files, enter the number of
锡耶纳网络文件NbrOfActors,输入检测号码
If using a file for input, it should be of one of the following types:
如果使用用于输入的文件,它应该是以下类型之一:
Network and covariate files should be text files with a row for each node. The numbers should be separated by spaces or tabs. Exogenous events should be specified by a file with a row for each node. Each row should be consist of a set of pairs of numbers which indicate the periods during which the corresponding actor was present. e.g.
网络和协变量文件是文本文件,有一排的每个节点。应用空格或制表符分隔的数字。外生事件,应指定一排的每个节点的文件。每行应包括对一组数字表示之期间相应的演员是。例如
值----------Value----------
A list with the following components:
以下组件列表:
参数:OK
Boolean, TRUE indicating success
布尔值,TRUE表示成功
参数:mydata
A Siena data or group object, of class siena or sienaGroup
锡耶纳数据或一组对象中,类siena或sienaGroup的
参数:myeff
Effects object associated with mydata
影响对象与mydata
(作者)----------Author(s)----------
Ruth Ripley
参考文献----------References----------
<h3>See Also</h3>
实例----------Examples----------
## Not run: [#不运行:]
tmp <- sienaDataCreateFromSession("sienaFreshman.csv")
mydata <- tmp$mydata
myeff <- tmp$myeff
## End(Not run)[#(不执行)]
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|