Creates an object of class "sienaGroup" from a list of Siena data objects.
sienaGroupCreate(objlist, singleOK = FALSE, getDocumentation=FALSE)
List of objects of class "siena"
Boolean: is it OK to only have one object?
Flag to allow documentation of internal functions, not for use by users.
An object of class "sienaGroup"; this is a list containing the input objects, with attributes:
names of the dependent variables in each set
vector of booleans, one for each dependent variable. TRUE if all occurrences of the network are symmetric.
vector of booleans, indicating whether structurally fixed values occur in this network
vector of booleans, indicating whether changes are all upwards in all the occurrences of this network
similar to previous, but for downward changes
vector of booleans, indicating whether changes are all upwards in any of the occurrences of this network
similar to previous, but for downward changes
vector of network types of the dependent variables
Total number of periods to process
Sequence of numbers of periods which are not skipped in multigroup processing
list of names of the node sets corresponding to the dependent variables
names of the constant covariates, if any
names of the changing covariates, if any
names of the constant dyadic covariates, if any
names of the changing dyadic covariates, if any
list of the names of the node sets corresponding to the constant covariates
list of the names of the node sets corresponding to the changing covariates
list of the names of the node sets corresponding to the constant dyadic covariates
list of the names of the node sets corresponding to the changing dyadic covariates
boolean: any composition change at all?
named vector of composition change options for the node sets
Either from the input objects or "Data1", "Data2" etc
"sienaGroup" inheriting from "siena"
vector of means for balance calculations
vector of difference between maximum and minimum values for behavior variables, NA for other dependent variables
matrix of maximum and minimum values for behavior variables, NA for other dependent variables
vector of similarity means for behavior variables, NA for other dependent variables
vector of booleans indicating positive variance for behavior variables. NA for other dependent variables
vector of booleans indicating whether the behavior variables take more than 2 distinct values
vector of booleans indicating positive variance for constant covariates
vector of booleans indicating whether the constant covariates take more than 2 distinct values
vector of difference between maximum and minimum values for constant covariates
matrix of maximum and minimum values for constant covariates
vector of similarity means for constant covariates
vector of means for constant covariates
vector of difference between maximum and minimum values for changing covariates
vector of similarity means for changing covariates
vector of booleans indicating whether the changing covariates take more than 2 distinct values
vector of booleans indicating positive variance for changing covariates
vector of means for changing covariates
vector of means for constant dyadic covariates
vector of ranges for constant dyadic covariates
matrix of maximum and minimum values for constant dyadic covariates
vector of ranges for changing dyadic covariates
vector of means for changing dyadic covariates
vector of booleans, one for each dependent variable, indicating the presence of any missing values
matrix of maximum and minimum values for dependent networks, NA for behavior variables
This function creates a Siena group object from several Siena data
objects, all of which use networks, covariates and actor sets
with the same names. The variables must correspond exactly
between all data objects; the numbers of waves may differ.
It can be used as data input to siena07
for the
multigroup option.
Also used internally for convenience with a single Siena data object.
# NOT RUN {
Group1 <- sienaDependent(array(c(N3401, HN3401), dim=c(45, 45, 2)))
Group3 <- sienaDependent(array(c(N3403, HN3403), dim=c(37, 37, 2)))
Group4 <- sienaDependent(array(c(N3404, HN3404), dim=c(33, 33, 2)))
Group6 <- sienaDependent(array(c(N3406, HN3406), dim=c(36, 36, 2)))
dataset.1 <- sienaDataCreate(Friends = Group1)
dataset.3 <- sienaDataCreate(Friends = Group3)
dataset.4 <- sienaDataCreate(Friends = Group4)
dataset.6 <- sienaDataCreate(Friends = Group6)
FourGroups <- sienaGroupCreate(list(dataset.1, dataset.3, dataset.4, dataset.6))
# }
Run the code above in your browser using DataLab