sienaGroupCreate {RSiena}R Documentation

Function to group together several Siena data objects

Description

Creates an object of class "sienaGroup" from a list of Siena data objects.

Usage

sienaGroupCreate(objlist, singleOK = FALSE)

Arguments

objlist List of objects of class "siena"
singleOK Boolean: is it OK to only have one object?

Details

This function creates a Siena group object from several Siena data objects, all of which use the same networks, covariates and actor sets (although possibly different subsets of the actor set in each object). It can be used as data input to siena07 for the multigroup option. Also used internally for convenience with a single Siena data object.

Value

... List containing the input objects, with attributes:
netnames names of the dependent variables in each set
symmetric vector of booleans, one for each dependent variable. TRUE if all occurrences of the network are symmetric.
structural vector of booleans, indicating whether structurally fixed values occur in this network
allUpOnly vector of booleans, indicating whether changes are all upwards in all the occurrences of this network
allDownOnly similar to previous, but for downward changes
anyUpOnly vector of booleans, indicating whether changes are all upwards in any of the occurrences of this network
anyDownOnly similar to previous, but for downward changes
types vector of network types of the dependent variables
observations Total number of periods to process
periodNos Sequence of numbers of periods which are not skipped in multigroup processing
netnodeSets list of names of the node sets corresponding to the dependent variables
cCovars names of the constant covariates, if any
vCovars names of the changing covariates, if any
dycCovars names of the constant dyadic covariates, if any
dyvCovars names of the changing dyadic covariates, if any
ccnodeSets list of the names of the node sets corresponding to the constant covariates
cvnodeSets list of the names of the node sets corresponding to the changing covariates
dycnodeSets list of the names of the node sets corresponding to the constant dyadic covariates
dyvcnodeSets list of the names of the node sets corresponding to the changing dyadic covariates
compositionChange boolean: any composition change at all?
exooptions named vector of composition change options for the node sets
names Either from the input objects or "Data1", "Data2" etc
class "sienaGroup" inheriting from "siena"
balmean vector of means for balance calculations
bRange vector of difference between maximum and minimum values for behavior variables, NA for other dependent variables
behRange matrix of maximum and minimum values for behavior variables, NA for other dependent variables
bSim vector of similarity means for behavior variables, NA for other dependent variables
bPoszvar vector of booleans indicating positive variance for behavior variables. NA for other dependent variables
bMoreThan2 vector of booleans indicating whether the behavior variables take more than 2 distinct values
cCovarPoszvar vector of booleans indicating positive variance for constant covariates
cCovarMoreThan2 vector of booleans indicating whether the constant covariates take more than 2 distinct values
cCovarRange vector of difference between maximum and minimum values for constant covariates
cCovarRange2 matrix of maximum and minimum values for constant covariates
cCovarSim vector of similarity means for constant covariates
cCovarMean vector of means for constant covariates
vCovarRange vector of difference between maximum and minimum values for changing covariates
vCovarSim vector of similarity means for changing covariates
vCovarMoreThan2 vector of booleans indicating whether the changing covariates take more than 2 distinct values
vCovarPoszvar vector of booleans indicating positive variance for changing covariates
vCovarMean vector of means for changing covariates
dycCovarMean vector of means for constant dyadic covariates
dycCovarRange vector of ranges for constant dyadic covariates
dycCovarRange2 matrix of maximum and minimum values for constant dyadic covariates
dyvCovarRange vector of ranges for changing dyadic covariates
dyvCovarMean vector of means for changing dyadic covariates
anyMissing vector of booleans, one for each dependent variable, indicating the presence of any missing values
netRanges matrix of maximum and minimum values for dependent networks, NA for behavior variables

Author(s)

Ruth Ripley

References

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

See Also

sienaDataCreate

Examples

## not very useful, but will work
mynet1 <- sienaNet(array(c(s501,s502),dim=c(50,50,2)))
mydata <- sienaDataCreate(mynet1)
mygroup <- sienaGroupCreate(list(mydata, mydata))

[Package RSiena version 1.0.5 Index]