Learn R Programming

RSiena (version 1.0.9)

sienaDataCreateFromSession: Creates a Siena data object from a Siena session file

Description

Reads in a Siena session from file or siena01Gui() and creates a Siena data or group object.

Usage

sienaDataCreateFromSession(filename = NULL, session = NULL,
    modelName = "Siena", edited = NULL, files = NULL,
    getDocumentation=FALSE)

Arguments

Value

A list with the following components:OKBoolean, TRUE indicating successmydataA Siena data or group object, of class siena or sienaGroupmyeffEffects object associated with mydata

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.

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. [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object] If using a file for input, it should be of one of the following types: ll{ Extension Type .csv Comma separated .dat or .prn Space delimited .txt Tab delimited } 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. 1 3 1.5 3 1 1.4 2.3 3 2.4 3 would describe a network with 4 nodes, and 3 observations. Actor 1 is present all the time, actor 2 joins at time 1.5, actor 3 leaves and time 1.4 then rejoins at time 2.3, actor 4 joins at time 2.4. All intervals are treated as closed.

References

See http://www.stats.ox.ac.uk/~snidjers/siena/

See Also

sienaDataCreate, siena